Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-12-08 15:02:05 +0300
committerOlivier Goffart <ogoffart@woboq.com>2017-12-08 18:16:06 +0300
commitd517d92f6cc89e273187b62572937323ca7a747d (patch)
treeabb1d2d0dcaf188c20a4eff6d307092a338b8f00 /src/gui/folderwizard.cpp
parent71dcf7fc37d4b8b32dcf37d0a2cf8653dd2d589c (diff)
FolderWizard: don't use deprecated API
Diffstat (limited to 'src/gui/folderwizard.cpp')
-rw-r--r--src/gui/folderwizard.cpp2
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