Hide recover.mmp in Recent files

This commit is contained in:
Oskar Wallgren
2015-07-12 18:36:13 +02:00
parent 87c15588a1
commit 9f78fa594a

View File

@@ -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 );