From 97fbcf3ab51ae72cfd338861d4ae818c59dbafcf Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 31 Oct 2020 14:31:22 +0100 Subject: [PATCH] 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 --- src/views/viewproperties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/viewproperties.cpp b/src/views/viewproperties.cpp index ab3af5149a..1f73f3b33b 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; }