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

ProjectManager: Remove empty files from the recent projects list.

parent 5b531e7f
......@@ -48,6 +48,8 @@ ProjectManager::ProjectManager() : m_projectFile( NULL ), m_needSave( false )
QSettings s;
m_recentsProjects = s.value( "RecentsProjects" ).toStringList();
//If the variable was empty, it will return a list with one empty string in it.
m_recentsProjects.removeAll( "" );
SettingValue *fps = VLMC_CREATE_PROJECT_DOUBLE( "video/VLMCOutputFPS", 29.97,
QT_TRANSLATE_NOOP( "PreferenceWidget", "Output video FPS" ),
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