diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-12-25 19:17:27 -0600 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2021-12-25 19:17:27 -0600 |
| commit | ecfe6f2542d73e9559b75a502f6eebffe63a76cf (patch) | |
| tree | 6ceea4666ade907af6e9a1ac79e5dc4763403c49 /include/courtroom.h | |
| parent | d1fb7fde16ec37dfa7b13e0a02489417655d315d (diff) | |
Change master chat in courtroom to debug log
Since the MS chat has been disabled for quite some time now (and we aren't planning on bringing it back since Discord, Guilded etc. have better chat features), I decided to go ahead and change the pane into a debug log to keep it useful and avoid creating a gaping hole in themes.
Though, maybe it is worth removing the whole switcher and keeping the debug log hidden away where it can't scare people.
Diffstat (limited to 'include/courtroom.h')
| -rw-r--r-- | include/courtroom.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 4bc86242..4c286062 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -214,8 +214,12 @@ public: void list_music(); void list_areas(); - // these are for OOC chat - void append_ms_chatmessage(QString f_name, QString f_message); + // Debug log (formerly master server chat log) + void debug_message_handler(QtMsgType type, const QMessageLogContext &context, + const QString &msg); + void append_debug_message(QString f_message); + + // OOC chat log void append_server_chatmessage(QString p_name, QString p_message, QString p_color); @@ -628,7 +632,7 @@ private: QTextEdit *ui_ic_chatlog; - AOTextArea *ui_ms_chatlog; + AOTextArea *ui_debug_log; AOTextArea *ui_server_chatlog; QListWidget *ui_mute_list; |
