Commit 3d6b6824 authored by Halla Rempt's avatar Halla Rempt

Use more specific QStandardPaths locations

parent 35c1d771
......@@ -136,22 +136,22 @@ public:
return QStandardPaths::TempLocation;
}
else if (type == "appdata") {
return QStandardPaths::DataLocation;
return QStandardPaths::AppDataLocation;
}
else if (type == "data") {
return QStandardPaths::GenericDataLocation;
return QStandardPaths::AppDataLocation;
}
else if (type == "config") {
return QStandardPaths::GenericConfigLocation;
return QStandardPaths::AppConfigLocation;
}
else if (type == "cache") {
return QStandardPaths::CacheLocation;
}
else if (type == "locale") {
return QStandardPaths::GenericDataLocation;
return QStandardPaths::AppDataLocation;
}
else {
return QStandardPaths::GenericDataLocation;
return QStandardPaths::AppDataLocation;
}
}
};
......
Markdown is supported
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