From de2be9063655b5a92a9acbb19019320c62a434ca Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 17 Nov 2021 22:20:01 +0100 Subject: [PATCH] Qt: only show prefix for fatal messages Always messages are supposed to be humanly readable --- rpcs3/rpcs3qt/log_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/log_frame.cpp b/rpcs3/rpcs3qt/log_frame.cpp index 20ee77179a..d3b5712245 100644 --- a/rpcs3/rpcs3qt/log_frame.cpp +++ b/rpcs3/rpcs3qt/log_frame.cpp @@ -60,7 +60,7 @@ struct gui_listener : logs::listener packet_t p,* _new = &p; _new->sev = msg; - if ((msg <= logs::level::fatal || show_prefix) && !prefix.empty()) + if ((msg == logs::level::fatal || show_prefix) && !prefix.empty()) { _new->msg += "{"; _new->msg += prefix;