1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[Oxygen] Fixes crash when closing window.

This is proper fix for #838
This commit is contained in:
nowrep 2013-05-12 23:30:55 +02:00
parent 42e0f535fe
commit d391b65bed

View File

@ -393,7 +393,7 @@ void WebTab::disconnectObjects()
WebTab::~WebTab() WebTab::~WebTab()
{ {
// #838 !mApp->isClosing() fixes crash on app close with Oxygen theme // #838 !mApp->isClosing() fixes crash on app close with Oxygen theme
if (m_navigationContainer && qzSettings->tabsOnTop && !mApp->isClosing()) { if (m_navigationContainer && qzSettings->tabsOnTop && !p_QupZilla->isClosing()) {
m_layout->removeWidget(m_navigationContainer); m_layout->removeWidget(m_navigationContainer);
// Needed to prevent flickering when closing tabs // Needed to prevent flickering when closing tabs