Commit c793fb27 authored by David Rosca's avatar David Rosca
Browse files

Fix crash on close

Delete m_tabwidget in destructor

REVIEW: 125890
parent 6fdc6e22
......@@ -159,6 +159,8 @@ Shell::~Shell()
}
if (m_unique)
QDBusConnection::sessionBus().unregisterService(QStringLiteral("org.kde.okular"));
delete m_tabWidget;
}
// Open a new document if we have space for it
......
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