summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qhistorystate_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/statemachine/qhistorystate_p.h')
-rw-r--r--src/corelib/statemachine/qhistorystate_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/statemachine/qhistorystate_p.h b/src/corelib/statemachine/qhistorystate_p.h
index 2e93c31982..f3eb20f194 100644
--- a/src/corelib/statemachine/qhistorystate_p.h
+++ b/src/corelib/statemachine/qhistorystate_p.h
@@ -87,8 +87,8 @@ protected:
// state, it will handle this transition as a special case. The history state itself is never
// entered either: either the stored configuration will be used, or the target(s) of this
// transition are used.
- virtual bool eventTest(QEvent *event) { Q_UNUSED(event); return false; }
- virtual void onTransition(QEvent *event) { Q_UNUSED(event); }
+ bool eventTest(QEvent *event) override { Q_UNUSED(event); return false; }
+ void onTransition(QEvent *event) override { Q_UNUSED(event); }
};
QT_END_NAMESPACE