diff options
author | David Robillard <d@drobilla.net> | 2020-04-26 21:41:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-04-26 21:41:55 +0200 |
commit | 7e4bd63ab08cab9a0abb2c2853726d12bbfa9991 (patch) | |
tree | 2ee89e65e04d7d52377ca72c2e545cb4cc25849a | |
parent | 3b1bf5093f998efc31d10c44c38f609f7c4ef4ad (diff) | |
download | suil-7e4bd63ab08cab9a0abb2c2853726d12bbfa9991.tar.gz suil-7e4bd63ab08cab9a0abb2c2853726d12bbfa9991.tar.bz2 suil-7e4bd63ab08cab9a0abb2c2853726d12bbfa9991.zip |
Add missing override declarations
-rw-r--r-- | src/x11_in_qt5.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/x11_in_qt5.cpp b/src/x11_in_qt5.cpp index be90323..cba36ec 100644 --- a/src/x11_in_qt5.cpp +++ b/src/x11_in_qt5.cpp @@ -43,7 +43,8 @@ public: {} void start_idle(SuilInstance* instance, - const LV2UI_Idle_Interface* idle_iface) { + const LV2UI_Idle_Interface* idle_iface) + { _instance = instance; _idle_iface = idle_iface; if (_idle_iface && _ui_timer == 0) { @@ -52,14 +53,16 @@ public: } protected: - void timerEvent(QTimerEvent* event) { + void timerEvent(QTimerEvent* event) override + { if (event->timerId() == _ui_timer && _idle_iface) { _idle_iface->idle(_instance->handle); } QWidget::timerEvent(event); } - void closeEvent(QCloseEvent* event) { + void closeEvent(QCloseEvent* event) override + { if (_ui_timer && _idle_iface) { this->killTimer(_ui_timer); _ui_timer = 0; |