Skip to content

Commit

Permalink
MainWindow_fix_casting
Browse files Browse the repository at this point in the history
  • Loading branch information
szeli1 committed Nov 23, 2024
1 parent 89cc7a1 commit ef03777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class MainWindow : public QMainWindow
public:
QMdiArea* workspace()
{
return static_cast<QMdiArea*>(m_workspace);
return reinterpret_cast<QMdiArea*>(m_workspace);
}

QWidget* toolBar()
Expand Down

0 comments on commit ef03777

Please sign in to comment.