summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cocoa_in_qt5.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cocoa_in_qt5.mm b/src/cocoa_in_qt5.mm
index 5a7e5b0..4f2e699 100644
--- a/src/cocoa_in_qt5.mm
+++ b/src/cocoa_in_qt5.mm
@@ -60,7 +60,7 @@ public:
}
protected:
- void timerEvent(QTimerEvent* event)
+ void timerEvent(QTimerEvent* event) override
{
if (event->timerId() == _ui_timer && _idle_iface) {
_idle_iface->idle(_instance->handle);
@@ -69,7 +69,7 @@ protected:
QWidget::timerEvent(event);
}
- void closeEvent(QCloseEvent* event)
+ void closeEvent(QCloseEvent* event) override
{
if (_ui_timer && _idle_iface) {
this->killTimer(_ui_timer);