diff options
Diffstat (limited to 'src/aoapplication.h')
| -rw-r--r-- | src/aoapplication.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/aoapplication.h b/src/aoapplication.h index 1ff059b6..c8c24441 100644 --- a/src/aoapplication.h +++ b/src/aoapplication.h @@ -61,18 +61,17 @@ public: ~AOApplication(); NetworkManager *net_manager; - Lobby *w_lobby; - Courtroom *w_courtroom; + Lobby *w_lobby = nullptr; + Courtroom *w_courtroom = nullptr; AttorneyOnline::Discord *discord; QFont default_font; - bool lobby_constructed = false; - bool courtroom_constructed = false; - + bool is_lobby_constructed(); void construct_lobby(); void destruct_lobby(); + bool is_courtroom_constructed(); void construct_courtroom(); void destruct_courtroom(); |
