Skip to content

Commit 2f24589

Browse files
committed
Removed unused function.
The function removed was meant to provide a prompt before removing the favorite server. I accidentally left it in, removing it will not affect the functionality of the client.
1 parent 7d395b4 commit 2f24589

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

include/aoapplication.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ class AOApplication : public QApplication {
138138
// Adds the server to favorite_servers.ini
139139
void add_favorite_server(int p_server);
140140
void remove_favorite_server(int p_server);
141-
void prompt_remove_favorite_server(int p_server);
142141

143142
void set_server_list(QVector<server_type> &servers) { server_list = servers; }
144143
QVector<server_type> &get_server_list() { return server_list; }

src/aoapplication.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,6 @@ void AOApplication::remove_favorite_server(int p_server)
180180
save_favorite_list();
181181
}
182182

183-
void AOApplication::prompt_remove_favorite_server(int p_server)
184-
{
185-
186-
}
187-
188183
void AOApplication::server_disconnected()
189184
{
190185
if (courtroom_constructed) {

0 commit comments

Comments
 (0)