Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Commit

Permalink
[Oxygen] Fixes crash when closing window.
Browse files Browse the repository at this point in the history
This is proper fix for #838
  • Loading branch information
nowrep committed May 13, 2013
1 parent 608197a commit c16b361
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 1.4.4
* not released yet
* fixed: crash with Oxygen theme when closing windows with tabs on top

Version 1.4.3
* released 9 May 2013
* fixed: crash upon closing private browsing window
Expand Down
4 changes: 2 additions & 2 deletions src/lib/webview/webtab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ void WebTab::disconnectObjects()

WebTab::~WebTab()
{
// #838 !mApp->isClosing() fixes crash on app close with Oxygen theme
if (m_navigationContainer && qzSettings->tabsOnTop && !mApp->isClosing()) {
// #838 !p_QupZilla->isClosing() fixes crash on app close with Oxygen theme
if (m_navigationContainer && qzSettings->tabsOnTop && !p_QupZilla->isClosing()) {
m_layout->removeWidget(m_navigationContainer);

// Needed to prevent flickering when closing tabs
Expand Down

0 comments on commit c16b361

Please sign in to comment.