Qt: Allocate screen on heap for setCentralWidget

This commit is contained in:
wheremyfoodat 2024-07-23 17:32:53 +03:00
parent 2e5ab26b46
commit 020a29b577
3 changed files with 15 additions and 14 deletions

View file

@ -101,7 +101,7 @@ class MainWindow : public QMainWindow {
QMenuBar* menuBar = nullptr;
InputMappings keyboardMappings;
ScreenWidget screen;
ScreenWidget* screen;
AboutWindow* aboutWindow;
ConfigWindow* configWindow;
CheatsWindow* cheatsEditor;