From 544e24c2041eae8ca1c3168789844e7168a8d57b Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 3 Nov 2016 14:08:07 +0100 Subject: [PATCH] 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 --- kstyle/breezestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 7f2730dd..3b8ef6c3 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