aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-12-25 19:17:27 -0600
committeroldmud0 <oldmud0@users.noreply.github.com>2021-12-25 19:17:27 -0600
commitecfe6f2542d73e9559b75a502f6eebffe63a76cf (patch)
tree6ceea4666ade907af6e9a1ac79e5dc4763403c49 /src/main.cpp
parentd1fb7fde16ec37dfa7b13e0a02489417655d315d (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 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ef61bca3..d7bbed1b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -12,6 +12,8 @@
int main(int argc, char *argv[])
{
+ qSetMessagePattern("%{type}: %{if-category}%{category}: %{endif}%{message}");
+
#if QT_VERSION > QT_VERSION_CHECK(5, 6, 0)
// High-DPI support is for Qt version >=5.6.
// However, many Linux distros still haven't brought their stable/LTS