Fix crash on startup when okularpart can't be found

remotes/origin/Applications/15.12
David Faure 11 years ago
parent f063b94be3
commit ba28b64ab6
  1. 3
      shell/shell.cpp

@ -326,6 +326,9 @@ void Shell::setupActions()
void Shell::saveProperties(KConfigGroup &group)
{
if ( !m_isValid ) // part couldn't be loaded, nothing to save
return;
// Gather lists of settings to preserve
QStringList urls;
for( int i = 0; i < m_tabs.size(); ++i )

Loading…
Cancel
Save