1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Qt: only show prefix for fatal messages

Always messages are supposed to be humanly readable
This commit is contained in:
Megamouse 2021-11-17 22:20:01 +01:00
parent 9f35c3f52d
commit de2be90636

View File

@ -60,7 +60,7 @@ struct gui_listener : logs::listener
packet_t p,* _new = &p; packet_t p,* _new = &p;
_new->sev = msg; _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 += "{";
_new->msg += prefix; _new->msg += prefix;