From: David Faure Date: Sat, 31 Oct 2020 13:31:22 +0000 (+0100) Subject: Port from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/97fbcf3ab51ae72cfd338861d4ae818c59dbafcf Port from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation They are the same on Linux (but DataLocation is deprecated). On Windows this enables the use of the roaming path. NO_CHANGELOG --- diff --git a/src/views/viewproperties.cpp b/src/views/viewproperties.cpp index ab3af5149..1f73f3b33 100644 --- a/src/views/viewproperties.cpp +++ b/src/views/viewproperties.cpp @@ -392,7 +392,7 @@ bool ViewProperties::exist() const QString ViewProperties::destinationDir(const QString& subDir) const { - QString path = QStandardPaths::writableLocation(QStandardPaths::DataLocation); + QString path = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); path.append("/view_properties/").append(subDir); return path; }