diff options
| author | TrickyLeifa <date.epoch@gmail.com> | 2022-08-01 21:44:30 +0200 |
|---|---|---|
| committer | TrickyLeifa <date.epoch@gmail.com> | 2022-08-01 21:44:30 +0200 |
| commit | 2f24589b2884e9a7bd0b688780ea57ac72db9b32 (patch) | |
| tree | 202b0c31c33aba1c71f0cf4dbbca0932f91208f8 | |
| parent | 7d395b4a333bbbb0fec6314eb07e1878c0c90378 (diff) | |
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.
| -rw-r--r-- | include/aoapplication.h | 1 | ||||
| -rw-r--r-- | src/aoapplication.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index 3b635410..4f2c585a 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -138,7 +138,6 @@ public: // Adds the server to favorite_servers.ini void add_favorite_server(int p_server); void remove_favorite_server(int p_server); - void prompt_remove_favorite_server(int p_server); void set_server_list(QVector<server_type> &servers) { server_list = servers; } QVector<server_type> &get_server_list() { return server_list; } diff --git a/src/aoapplication.cpp b/src/aoapplication.cpp index d52fc8b6..11889f72 100644 --- a/src/aoapplication.cpp +++ b/src/aoapplication.cpp @@ -180,11 +180,6 @@ void AOApplication::remove_favorite_server(int p_server) save_favorite_list(); } -void AOApplication::prompt_remove_favorite_server(int p_server) -{ - -} - void AOApplication::server_disconnected() { if (courtroom_constructed) { |
