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

Fix reset config on windows #931

parent d0a7a0b7
Pipeline #51443 canceled with stage
......@@ -277,7 +277,7 @@ int main(int argc, char *argv[])
KSharedConfigPtr config = KSharedConfig::openConfig();
if (config->name().contains(QLatin1String("kdenlive"))) {
// Make sure we delete our config file
QFile f(QStandardPaths::locate(QStandardPaths::ConfigLocation, config->name(), QStandardPaths::LocateFile));
QFile f(QStandardPaths::locate(QStandardPaths::GenericConfigLocation, config->name(), QStandardPaths::LocateFile));
if (f.exists()) {
qDebug()<<" = = = =\nGOT Deleted file: "<<f.fileName();
f.remove();
......
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