Merge pull request #2182 from zonkmachine/hideRecoverInRecent
Hide recover.mmp in Recent files
This commit is contained in:
@@ -835,7 +835,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 );
|
||||
|
||||
Reference in New Issue
Block a user