diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2012-10-19 16:35:54 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-19 17:53:26 +0200 |
commit | c4ff5c53efc213d9ce4fe0cfe9ab3d6c13cd8716 (patch) | |
tree | 233a9687e4559a9e95a0cc354c2525c99201ec7d /src/widgets/styles/qmacstyle_mac_p.h | |
parent | 4c41cb48d0356a28190c300fd4cc5e03f824b870 (diff) |
Mac: Adapt scrollbar fadeout animation for QStyleAnimation
Change-Id: I39f1089e8d6ba1bb412d33aa4ebc0971aba52681
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/widgets/styles/qmacstyle_mac_p.h')
-rw-r--r-- | src/widgets/styles/qmacstyle_mac_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<const QWidget*, OverlayScrollBarInfo> scrollBarInfos; |