From 9683f0f295fe2b61791dc912f6a55a64626eaec3 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sat, 18 Mar 2017 17:22:21 +0100 Subject: [PATCH] StatusBarMessage: Don't show for inactive windows --- src/lib/other/statusbarmessage.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/other/statusbarmessage.cpp b/src/lib/other/statusbarmessage.cpp index 8eb2edcd2..09b87df2e 100644 --- a/src/lib/other/statusbarmessage.cpp +++ b/src/lib/other/statusbarmessage.cpp @@ -1,6 +1,6 @@ /* ============================================================ -* QupZilla - WebKit based browser -* Copyright (C) 2010-2015 David Rosca +* QupZilla - Qt web browser +* Copyright (C) 2010-2017 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -119,11 +119,7 @@ void StatusBarMessage::showMessage(const QString &message) const static QChar LRE(0x202a); m_window->statusBar()->showMessage(message.isRightToLeft() ? message : (LRE + message)); } -#ifdef Q_OS_WIN else if (mApp->activeWindow() == m_window) { -#else - else { -#endif WebView* view = m_window->weView(); const int verticalScrollSize = view->scrollBarGeometry(Qt::Vertical).width();;