diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-08 01:53:14 +0300 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-02-23 14:26:49 +0000 |
commit | febb1f721f720bb9f32bb60c711f709faadb366a (patch) | |
tree | 2541f7f5f4e9c1c1155373ac27fdd7585700041f /tools/qml/main.cpp | |
parent | 2556bfdab42dc0aefb34bb7cf304063c7db0ff00 (diff) |
sources: Add missing override and remove redundant virtual
Change-Id: I48e26b1491024d41ebf75d40f0d1a7e9a1b20f22
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tools/qml/main.cpp')
-rw-r--r-- | tools/qml/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp index e8a506264c..1699d3d81b 100644 --- a/tools/qml/main.cpp +++ b/tools/qml/main.cpp @@ -130,7 +130,7 @@ class LoaderApplication : public QGuiApplication public: LoaderApplication(int& argc, char **argv) : QGuiApplication(argc, argv) {} - bool event(QEvent *ev) + bool event(QEvent *ev) override { if (ev->type() == QEvent::FileOpen) { if (exitTimerId >= 0) { @@ -144,7 +144,7 @@ public: return true; } - void timerEvent(QTimerEvent *) { + void timerEvent(QTimerEvent *) override { noFilesGiven(); } }; |