Commit c9a8354a authored by Julius Künzel's avatar Julius Künzel
Browse files

Fix delete render preset on windows not working

Related to #1387
parent 9a5dfcc3
Pipeline #162717 passed with stage
in 11 minutes and 47 seconds
......@@ -392,7 +392,7 @@ bool RenderPresetRepository::deletePreset(const QString &name, bool dontRefresh)
return false;
QString exportFile = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + QStringLiteral("/export/customprofiles.xml");
QString exportFile = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation) + QStringLiteral("/export/customprofiles.xml");
QDomDocument doc;
QFile file(exportFile);
doc.setContent(&file, false);
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