aboutsummaryrefslogtreecommitdiff
path: root/src/aoapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/aoapplication.cpp')
-rw-r--r--src/aoapplication.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/aoapplication.cpp b/src/aoapplication.cpp
index b50cc7a..3a91aec 100644
--- a/src/aoapplication.cpp
+++ b/src/aoapplication.cpp
@@ -25,8 +25,6 @@ AOApplication::AOApplication(int &argc, char **argv) : QApplication(argc, argv)
net_manager = new NetworkManager(this);
discord = new AttorneyOnline::Discord();
- connect(net_manager, &NetworkManager::ms_connect_finished,
- this, &AOApplication::ms_connect_finished);
asset_lookup_cache.reserve(2048);
@@ -167,33 +165,6 @@ void AOApplication::loading_cancelled()
w_lobby->hide_loading_overlay();
}
-void AOApplication::ms_connect_finished(bool connected, bool will_retry)
-{
- if (connected) {
- AOPacket *f_packet = new AOPacket("ALL#%");
- send_ms_packet(f_packet);
- }
- else {
- if (will_retry) {
- if (lobby_constructed)
- w_lobby->append_error(
- tr("Error connecting to master server. Will try again in %1 "
- "seconds.")
- .arg(QString::number(net_manager->ms_reconnect_delay)));
- }
- else {
- call_error(tr("There was an error connecting to the master server.\n"
- "We deploy multiple master servers to mitigate any "
- "possible downtime, "
- "but the client appears to have exhausted all possible "
- "methods of finding "
- "and connecting to one.\n"
- "Please check your Internet connection and firewall, and "
- "please try again."));
- }
- }
-}
-
void AOApplication::call_settings_menu()
{
AOOptionsDialog settings(nullptr, this);