From f5af5ebd51d03a642ad9af515745dcb81730ac3d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 May 2022 14:56:41 -0400 Subject: Build Qt wrappers as C++11 which is now required --- src/cocoa_in_qt5.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.1