projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e798c4
)
Fix notifications when minimized.
author
Martin Sandsmark
<martin.sandsmark@kde.org>
Tue, 17 Dec 2013 15:26:39 +0000
(16:26 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sun, 22 Dec 2013 23:32:07 +0000
(
00:32
+0100)
QWidget::isVisible() just checks if the widget has been explicitly
hidden, not if it is minimized, covered, or whatnot.
Fixes #1240
src/qtui/mainwin.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/mainwin.cpp
b/src/qtui/mainwin.cpp
index
a4be9fd
..
a7306b8
100644
(file)
--- a/
src/qtui/mainwin.cpp
+++ b/
src/qtui/mainwin.cpp
@@
-652,7
+652,7
@@
void MainWin::removeBufferView(int bufferViewConfigId)
void MainWin::bufferViewToggled(bool enabled)
{
- if (!enabled && !is
Visible
()) {
+ if (!enabled && !is
Minimized
()) {
// hiding the mainwindow triggers a toggle of the bufferview (which pretty much sucks big time)
// since this isn't our fault and we can't do anything about it, we suppress the resulting calls
return;