summaryrefslogtreecommitdiffstats
path: root/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-09-12 09:43:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-09-16 10:48:07 +0200
commit72522517688d68a25a543a1da2497a4b8f6b424b (patch)
treeb6afb634dfdd002f0d86fa76680c954a538ffc46 /src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h
parente2431b619da5c53d34df0b46105deb4450ed0c1f (diff)
Brush up the Windows styles
- use range-based for loops where possible - use nullptr - use member initialization - remove a lot of C-style casts - use override - fix some signedness warnings - add some missing break statements Task-number: QTBUG-76493 Change-Id: Ica6ed65ec29e958406e54d816b8a679ed81bd177 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h')
-rw-r--r--src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h b/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h
index d66b17e9f8..8fef9f9927 100644
--- a/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h
+++ b/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h
@@ -162,7 +162,7 @@ class QWindowsVistaAnimation : public QBlendStyleAnimation
public:
QWindowsVistaAnimation(Type type, QObject *target) : QBlendStyleAnimation(type, target) { }
- virtual bool isUpdateNeeded() const;
+ bool isUpdateNeeded() const override;
void paint(QPainter *painter, const QStyleOption *option);
};