aboutsummaryrefslogtreecommitdiff
path: root/src/aoapplication.cpp
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2024-07-12 11:48:01 +0200
committerGitHub <noreply@github.com>2024-07-12 11:48:01 +0200
commitfb64ca386c51cc3942e1f38cfd76132b1b50e9db (patch)
treef805cd22b191a028312e7f546b571fb35488fa50 /src/aoapplication.cpp
parentc745d0a1b78732550ae790fee12bd23b71a4f25e (diff)
Add playerlist widget element (#996)
* Commit * Boyfailure code commit * Cooking code spaghetti * Accidental overwrite recursive function call hell * Implemented player list * Add partial moderator widget Sleepy time! Hee-Hoo! * Moderator Dialog - Step 1 - WIP * Appease the clang gods * Clang appeasement policy * *sacrifices goat to clang* * Added player report, reworked implementation, ... * Added player-specific report * Reworked implementation * No longer uses JSON. * Removed preset loader. --------- Co-authored-by: TrickyLeifa <date.epoch@gmail.com> Co-authored-by: Leifa <26681464+TrickyLeifa@users.noreply.github.com>
Diffstat (limited to 'src/aoapplication.cpp')
-rw-r--r--src/aoapplication.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/aoapplication.cpp b/src/aoapplication.cpp
index 0b73575b..20eaaa30 100644
--- a/src/aoapplication.cpp
+++ b/src/aoapplication.cpp
@@ -193,6 +193,16 @@ void AOApplication::doBASSreset()
load_bass_plugins();
}
+void AOApplication::server_connected()
+{
+ qInfo() << "Established connection to server.";
+
+ destruct_courtroom();
+ construct_courtroom();
+
+ courtroom_loaded = false;
+}
+
void AOApplication::initBASS()
{
BASS_SetConfig(BASS_CONFIG_DEV_DEFAULT, 1);