From 2f24589b2884e9a7bd0b688780ea57ac72db9b32 Mon Sep 17 00:00:00 2001 From: TrickyLeifa Date: Mon, 1 Aug 2022 21:44:30 +0200 Subject: [PATCH] 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. --- include/aoapplication.h | 1 - src/aoapplication.cpp | 5 ----- 2 files changed, 6 deletions(-) diff --git a/include/aoapplication.h b/include/aoapplication.h index 3b63541..4f2c585 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 &servers) { server_list = servers; } QVector &get_server_list() { return server_list; } diff --git a/src/aoapplication.cpp b/src/aoapplication.cpp index d52fc8b..11889f7 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) {