projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c44ad63
)
Fix notifications when minimized.
50/head
author
Martin Sandsmark
<martin.sandsmark@kde.org>
Tue, 17 Dec 2013 15:26:39 +0000
(16:26 +0100)
committer
Martin T. H. Sandsmark
<martin.sandsmark@nov.com>
Wed, 18 Dec 2013 11:52:59 +0000
(12:52 +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
5460a34
..
9019e24
100644
(file)
--- a/
src/qtui/mainwin.cpp
+++ b/
src/qtui/mainwin.cpp
@@
-657,7
+657,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;