diff options
| author | David Faure <[email protected]> | 2020-10-31 14:31:22 +0100 |
|---|---|---|
| committer | David Faure <[email protected]> | 2020-10-31 14:31:22 +0100 |
| commit | 97fbcf3ab51ae72cfd338861d4ae818c59dbafcf (patch) | |
| tree | 35cb87416c9fb4da2afe5fb7418d45cb7864120f /src/views | |
| parent | bf11c835ebd934d9916327262f23edb25aeb8ab8 (diff) | |
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
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/viewproperties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
