diff options
| author | stonedDiscord <stoned@derpymail.org> | 2017-01-28 15:08:31 +0100 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2017-01-28 15:08:31 +0100 |
| commit | 49f127ec8162a81caba9ea195a35b88276b4523d (patch) | |
| tree | a823bdd7bbee308391df51b52c03ae7532a4fa5f | |
| parent | d73ab6a589d2f2ad151f03c0ba6f49fa2ca36d01 (diff) | |
added call fag
| -rw-r--r-- | courtroom.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index 71ff16b..70babcb 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -162,6 +162,8 @@ Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow() connect(ui_spectator, SIGNAL(clicked()), this, SLOT(on_spectator_clicked())); + connect(ui_call_mod, SIGNAL(clicked()), this, SLOT(on_call_mod_clicked())); + set_widgets(); } @@ -540,6 +542,11 @@ void Courtroom::on_spectator_clicked() ui_char_select_background->hide(); } +void Courtroom::on_call_mod_clicked() +{ + ao_app->send_server_packet(new AOPacket("ZZ#%")); +} + void Courtroom::char_clicked(int n_char) { int n_real_char = n_char + current_char_page * 90; |
