diff options
author | Stephan Binner <stephan.binner@basyskom.com> | 2017-04-20 14:23:17 +0200 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-04-25 09:50:07 +0000 |
commit | 21db5ebea9be179d325f43b5b3ca8eb5ebdae771 (patch) | |
tree | d6c7f3b0bbddd1de6818d32a263eceac07333d72 /src/widgets/styles/qstylesheetstyle.cpp | |
parent | fccc831af66f97a86902ada05095f335c0a39307 (diff) |
Fix warnings for -no-feature-animation
Change-Id: I624e68e96d2a673b36d9519d1189fe4a25e1fbd0
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/widgets/styles/qstylesheetstyle.cpp')
-rw-r--r-- | src/widgets/styles/qstylesheetstyle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp index 48068adac9..5d977d75c0 100644 --- a/src/widgets/styles/qstylesheetstyle.cpp +++ b/src/widgets/styles/qstylesheetstyle.cpp @@ -3914,7 +3914,9 @@ void QStyleSheetStyle::drawControl(ControlElement ce, const QStyleOption *opt, Q } QRect r = rect; +#if QT_CONFIG(animation) Q_D(const QWindowsStyle); +#endif if (pb->minimum == 0 && pb->maximum == 0) { int chunkCount = fillWidth/chunkWidth; int offset = 0; |