From 049168b9bb2bd97ba192fb1087e03c35326d4b8e Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Tue, 1 Nov 2016 11:06:54 +0100 Subject: [PATCH] Fixed compilation for KDE4 CCMAIL: notmart@gmail.com --- kstyle/breezestyle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 5b7c8daa..9d7080d2 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -6648,8 +6648,10 @@ namespace Breeze bool widgetMouseOver; if( widget ) widgetMouseOver = widget->underMouse(); + #if QT_VERSION >= 0x050000 // in case this QStyle is used by QQuickControls QStyle wrapper else if( option->styleObject ) widgetMouseOver = option->styleObject->property("hover").toBool(); + #endif // check enabled state const bool enabled( option->state & State_Enabled );