1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[Oxygen] Fix crash on close with tabs on top enabled.

See #838
This commit is contained in:
nowrep 2013-04-09 14:06:59 +02:00
parent 90c285c1ac
commit fe6e450a44

View File

@ -365,7 +365,7 @@ void WebTab::disconnectObjects()
WebTab::~WebTab()
{
if (m_navigationContainer && qzSettings->tabsOnTop) {
if (m_navigationContainer && qzSettings->tabsOnTop && !mApp->isClosing()) {
m_layout->removeWidget(m_navigationContainer);
// Needed to prevent flickering when closing tabs