Skip to content

Commit 59fd0a6

Browse files
committed
Delete comments, unused class
1 parent 1908450 commit 59fd0a6

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/aoapplication.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,15 @@ void AOApplication::loading_cancelled()
165165
void AOApplication::call_settings_menu()
166166
{
167167
AOOptionsDialog *l_dialog = new AOOptionsDialog(this);
168-
// force disconnect as a test
169-
server_disconnected();
170168

171169
if (is_courtroom_constructed())
172170
{
173171
connect(l_dialog, &AOOptionsDialog::reloadThemeRequest, w_courtroom, &Courtroom::on_reload_theme_clicked);
174172
}
175173

176-
// if (is_lobby_constructed())
177-
// {}
178-
// l_dialog->exec();
174+
if (is_lobby_constructed())
175+
{}
176+
l_dialog->exec();
179177

180178
if (is_courtroom_constructed())
181179
{

src/aoapplication.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class NetworkManager;
2929
class Lobby;
3030
class Courtroom;
3131
class Options;
32-
class debug_functions;
3332

3433
class VPath : QString
3534
{
@@ -58,7 +57,6 @@ class AOApplication : public QObject
5857
~AOApplication();
5958

6059
NetworkManager *net_manager;
61-
debug_functions *debug_func;
6260
Lobby *w_lobby = nullptr;
6361
Courtroom *w_courtroom = nullptr;
6462
AttorneyOnline::Discord *discord;

0 commit comments

Comments
 (0)