diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2017-12-08 15:02:05 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2017-12-08 18:16:06 +0300 |
commit | d517d92f6cc89e273187b62572937323ca7a747d (patch) | |
tree | abb1d2d0dcaf188c20a4eff6d307092a338b8f00 /src/gui/folderwizard.cpp | |
parent | 71dcf7fc37d4b8b32dcf37d0a2cf8653dd2d589c (diff) |
FolderWizard: don't use deprecated API
Diffstat (limited to 'src/gui/folderwizard.cpp')
-rw-r--r-- | src/gui/folderwizard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderwizard.cpp b/src/gui/folderwizard.cpp index 9485a83d5..e42a4dda8 100644 --- a/src/gui/folderwizard.cpp +++ b/src/gui/folderwizard.cpp @@ -118,7 +118,7 @@ bool FolderWizardLocalPath::isComplete() const void FolderWizardLocalPath::slotChooseLocalFolder() { - QString sf = QDesktopServices::storageLocation(QDesktopServices::HomeLocation); + QString sf = QStandardPaths::writableLocation(QStandardPaths::HomeLocation); QDir d(sf); // open the first entry of the home dir. Otherwise the dir picker comes |