From 9f78fa594ad772f700c2d6f1d2176b63c6c9caf2 Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Sun, 12 Jul 2015 18:36:13 +0200 Subject: [PATCH] Hide recover.mmp in Recent files --- src/gui/MainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index 2dbdcb663..8201f7c46 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -837,7 +837,8 @@ void MainWindow::updateRecentlyOpenedProjectsMenu() for( QStringList::iterator it = rup.begin(); it != rup.end(); ++it ) { QFileInfo recentFile( *it ); - if ( recentFile.exists() ) + if ( recentFile.exists() && + *it != ConfigManager::inst()->recoveryFile() ) { m_recentlyOpenedProjectsMenu->addAction( embed::getIconPixmap( "project_file" ), *it );