mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
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
This commit is contained in:
parent
bf11c835eb
commit
97fbcf3ab5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue