Commit 5b531e7f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ProjectManager: Don't silently delete the project file when removing it from recent projects

parent aa1eec7c
......@@ -175,14 +175,6 @@ ProjectManager::removeProject( const QString& fileName )
QSettings s;
s.setValue( "RecentsProjects", m_recentsProjects );
QFile projectFile( fileName );
if ( !projectFile.exists() )
return;
if( !QFile::remove( fileName ) )
QMessageBox::warning( NULL, tr( "Can't delete project file" ),
tr( "Can't delete this project file: %1\nPlease delete it manually." ).arg( fileName ) );
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment