Commit 4ace2bc3 authored by David Faure's avatar David Faure
Browse files

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.

parent 2ce2e554
......@@ -136,7 +136,7 @@ void QuicklaunchPrivate::addLauncher(bool isPopup)
static QString locateLocal(const QString &file)
const QString &dataPath = QStandardPaths::writableLocation(QStandardPaths::DataLocation);
const QString &dataPath = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
const QString appDataPath = QStringLiteral("%1/quicklaunch").arg(dataPath);
return QStringLiteral("%1/%2").arg(appDataPath, file);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment