From 3d7083aad02b8892b2ba6843d64ff9766095f52f Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Sun, 27 Aug 2023 21:51:02 +0200 Subject: [PATCH] DockModeMenu: fix building with Qt 6 --- client/dockmodemenu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/dockmodemenu.cpp b/client/dockmodemenu.cpp index 8f51b430..9e58b9e1 100644 --- a/client/dockmodemenu.cpp +++ b/client/dockmodemenu.cpp @@ -1,6 +1,9 @@ #include "dockmodemenu.h" #include +#if QT_VERSION_MAJOR >= 6 +# include +#endif DockModeMenu::DockModeMenu(QString name, QDockWidget* w) : QMenu(name)