projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make disabling the tray icon animation work again
[quassel.git]
/
src
/
qtui
/
legacysystemtray.cpp
diff --git
a/src/qtui/legacysystemtray.cpp
b/src/qtui/legacysystemtray.cpp
index
0c6a1e3
..
552324c
100644
(file)
--- a/
src/qtui/legacysystemtray.cpp
+++ b/
src/qtui/legacysystemtray.cpp
@@
-106,7
+106,7
@@
void LegacySystemTray::setState(State state_) {
State oldstate = state();
SystemTray::setState(state_);
if(oldstate != state()) {
State oldstate = state();
SystemTray::setState(state_);
if(oldstate != state()) {
- if(state() == NeedsAttention && mode() == Legacy)
+ if(state() == NeedsAttention && mode() == Legacy
&& animationEnabled()
)
_blinkTimer.start();
else {
_blinkTimer.stop();
_blinkTimer.start();
else {
_blinkTimer.stop();