Commit 5540697f 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.

NO_CHANGELOG
parent 5c38ebcf
...@@ -103,7 +103,7 @@ void testNetAttachJobs::testCreate() ...@@ -103,7 +103,7 @@ void testNetAttachJobs::testCreate()
void testNetAttachJobs::testRemove() void testNetAttachJobs::testRemove()
{ {
QString destPath = QStandardPaths::writableLocation(QStandardPaths::DataLocation); QString destPath = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
destPath.append("test-unique-id.desktop"); destPath.append("test-unique-id.desktop");
org::kde::KDirNotify *watch = new org::kde::KDirNotify( org::kde::KDirNotify *watch = new org::kde::KDirNotify(
......
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