summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <[email protected]>2016-11-03 14:08:07 +0100
committerMarco Martin <[email protected]>2016-11-03 14:17:36 +0100
commit544e24c2041eae8ca1c3168789844e7168a8d57b (patch)
tree514cde48160d0acc124c3bcee4dbb89731f56c83
parentef14b58e76029aea02c1b6a7890301b632840295 (diff)
fix flickering arrows
Summary: this reintroduces the else removed in 049168b9bb this broke the animations for arrows, it made them appear and disappear again Test Plan: animation for arrows works again Reviewers: #plasma, hpereiradacosta Reviewed By: hpereiradacosta Differential Revision: https://phabricator.kde.org/D3248
-rw-r--r--kstyle/breezestyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp
index 7f2730d..3b8ef6c 100644
--- a/kstyle/breezestyle.cpp
+++ b/kstyle/breezestyle.cpp
@@ -6650,7 +6650,7 @@ namespace Breeze
if( widget ) widgetMouseOver = widget->underMouse();
#if QT_VERSION >= 0x050000
// in case this QStyle is used by QQuickControls QStyle wrapper
- if( option->styleObject ) widgetMouseOver = option->styleObject->property("hover").toBool();
+ else if( option->styleObject ) widgetMouseOver = option->styleObject->property("hover").toBool();
#endif
// check enabled state