From 6cfe82de3c20d4964850f2c4a06218d10c7fe255 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Mon, 25 Dec 2023 12:58:12 +0800 Subject: [PATCH] MainWidget: fix for missing qt_mac_set_dock_menu diff --git src/gui/MainWidget.cpp src/gui/MainWidget.cpp index 6a046803..73b52bbb 100644 --- src/gui/MainWidget.cpp +++ src/gui/MainWidget.cpp @@ -68,6 +68,11 @@ using Functions::timeToStr; #include #include +#ifdef Q_OS_MAC +#include +extern void qt_mac_set_dock_menu(QMenu *); +#endif + #include #if QT_VERSION >= 0x050000 && defined Q_OS_WIN