From 053862ffab3208a23b382b9027e8465422656378 Mon Sep 17 00:00:00 2001 From: Lukas W Date: Sun, 2 Nov 2014 00:22:49 +0100 Subject: [PATCH] Fix autosave Fix typo made in 2e7733eaa18c6b404a610048ac5f53d92f6dbe96 while renaming occurances of "mmp" to "datafile". This lead to a mismatch in the file name used for saving and reading the recovery file. Addresses #722 --- src/core/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/main.cpp b/src/core/main.cpp index 2ad8bfbcd..1550af9a1 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -422,7 +422,7 @@ int main( int argc, char * * argv ) srand( getpid() + time( 0 ) ); // recover a file? - QString recoveryFile = QDir(configManager::inst()->workingDir()).absoluteFilePath("recover.dataFile"); + QString recoveryFile = QDir(configManager::inst()->workingDir()).absoluteFilePath("recover.mmp"); if( QFileInfo(recoveryFile).exists() && QMessageBox::question( engine::mainWindow(), MainWindow::tr( "Project recovery" ), MainWindow::tr( "It looks like the last session did not end properly. "