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

Fix reset config on windows #931

(cherry picked from commit f13d23a2)
parent ed751688
......@@ -268,7 +268,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