From c4ff5c53efc213d9ce4fe0cfe9ab3d6c13cd8716 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Fri, 19 Oct 2012 16:35:54 +0200 Subject: Mac: Adapt scrollbar fadeout animation for QStyleAnimation Change-Id: I39f1089e8d6ba1bb412d33aa4ebc0971aba52681 Reviewed-by: Jens Bache-Wiig --- src/widgets/styles/qmacstyle_mac_p.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/widgets/styles/qmacstyle_mac_p.h') diff --git a/src/widgets/styles/qmacstyle_mac_p.h b/src/widgets/styles/qmacstyle_mac_p.h index 812c79e158..66691c63f7 100644 --- a/src/widgets/styles/qmacstyle_mac_p.h +++ b/src/widgets/styles/qmacstyle_mac_p.h @@ -211,7 +211,8 @@ public: lastUpdate(QDateTime::currentMSecsSinceEpoch()), hovered(false), lastHovered(0), - cleared(false) + cleared(false), + animating(false) {} int lastValue; int lastMinimum; @@ -221,6 +222,7 @@ public: bool hovered; qint64 lastHovered; bool cleared; + bool animating; }; mutable QMap scrollBarInfos; -- cgit v1.2.3