Commit d5bad89a authored by David Faure's avatar David Faure Committed by Marco Martin
Browse files

Fix crash on startup when okularpart can't be found

parent 25335614
......@@ -319,6 +319,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 )
......
Supports Markdown
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