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()