Move default project location from "Documents" to "Videos"

parent d36e1b2c
......@@ -615,7 +615,7 @@ QString KdenliveDoc::projectDataFolder() const
if (KdenliveSettings::customprojectfolder()) {
return KdenliveSettings::defaultprojectfolder();
}
return QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
return QStandardPaths::writableLocation(QStandardPaths::MoviesLocation);
}
return m_projectFolder;
}
......
......@@ -1623,7 +1623,7 @@ bool MainWindow::readOptions()
pCore->projectManager()->recentFilesAction()->loadEntries(KConfigGroup(config, "Recent Files"));
if (KdenliveSettings::defaultprojectfolder().isEmpty()) {
QDir dir(QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation));
QDir dir(QStandardPaths::writableLocation(QStandardPaths::MoviesLocation));
dir.mkpath(QStringLiteral("."));
KdenliveSettings::setDefaultprojectfolder(dir.absolutePath());
}
......
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