mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
StatusBarMessage: Don't show for inactive windows
This commit is contained in:
parent
076deb7cdd
commit
9683f0f295
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2015 David Rosca <nowrep@gmail.com>
|
||||
* QupZilla - Qt web browser
|
||||
* Copyright (C) 2010-2017 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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();;
|
||||
|
Loading…
Reference in New Issue
Block a user