Commit ba28b64a authored by David Faure's avatar David Faure

Fix crash on startup when okularpart can't be found

parent f063b94b
......@@ -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 )
......
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