From ef037774af904b5c1f74414e7a04ebcaf513df04 Mon Sep 17 00:00:00 2001 From: szeli1 <143485814+szeli1@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:27:08 +0100 Subject: [PATCH] MainWindow_fix_casting --- include/MainWindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/MainWindow.h b/include/MainWindow.h index c5405a8376c..d51fc0eb8cd 100644 --- a/include/MainWindow.h +++ b/include/MainWindow.h @@ -59,7 +59,7 @@ class MainWindow : public QMainWindow public: QMdiArea* workspace() { - return static_cast(m_workspace); + return reinterpret_cast(m_workspace); } QWidget* toolBar()