Commit 673d0f79 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

Fix temp path on Windows

BUG: 375717
parent 7cf9980c
...@@ -650,6 +650,10 @@ void MainWindow::init(const QString &MltPath, const QUrl &Url, const QString &cl ...@@ -650,6 +650,10 @@ void MainWindow::init(const QString &MltPath, const QUrl &Url, const QString &cl
KdenliveSettings::setDecklink_extension(data.section(QLatin1Char(';'), 1, 1)); KdenliveSettings::setDecklink_extension(data.section(QLatin1Char(';'), 1, 1));
} }
} }
if (!QDir(KdenliveSettings::currenttmpfolder()).isReadable())
KdenliveSettings::setCurrenttmpfolder(QStandardPaths::writableLocation(QStandardPaths::TempLocation));
pCore->projectManager()->init(Url, clipsToLoad); pCore->projectManager()->init(Url, clipsToLoad);
QTimer::singleShot(0, pCore->projectManager(), &ProjectManager::slotLoadOnOpen); QTimer::singleShot(0, pCore->projectManager(), &ProjectManager::slotLoadOnOpen);
QTimer::singleShot(0, this, &MainWindow::GUISetupDone); QTimer::singleShot(0, this, &MainWindow::GUISetupDone);
......
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