Close subwindows gracefully, prompt save on quit

This commit is contained in:
GriffinR
2024-02-08 16:00:55 -05:00
parent a960456c6e
commit b60e54c07c
8 changed files with 100 additions and 72 deletions

View File

@@ -43,7 +43,7 @@ public:
public:
Ui::MainWindow* ui;
QObject *parent = nullptr;
Project *project = nullptr;
QPointer<Project> project = nullptr;
Map *map = nullptr;
Settings *settings;
void saveProject();