better effects support with nested sequences

This commit is contained in:
itsmattkc
2018-08-03 09:51:38 +10:00
parent 4700d02e6f
commit 20fc7a2814
7 changed files with 44 additions and 9 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ MainWindow::~MainWindow() {
QString data_dir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
if (!data_dir.isEmpty() && !autorecovery_filename.isEmpty()) {
if (QFile::exists(autorecovery_filename)) {
QFile::remove(autorecovery_filename);
QFile::rename(autorecovery_filename, autorecovery_filename + "." + QDateTime::currentDateTimeUtc().toString("yyyyMMddHHmmss"));
}
}
if (!config_dir.isEmpty()) {