Remove "debug_log" moniker for debug log and reuse ms_chatlog so old themes don't break (#716)

This commit is contained in:
Crystalwarrior 2022-05-21 17:12:24 +03:00 committed by GitHub
parent 9214952aea
commit a1edef048f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -734,8 +734,7 @@ void Courtroom::set_widgets()
ui_ic_chatlog->setPlaceholderText(log_goes_downwards ? "" + tr("Log goes down") + ""
: "" + tr("Log goes up") + "");
set_size_and_pos(ui_debug_log, "ms_chatlog"); // Old name
set_size_and_pos(ui_debug_log, "debug_log"); // New name
set_size_and_pos(ui_debug_log, "ms_chatlog"); // Old name, still use it to not break compatibility
ui_debug_log->setFrameShape(QFrame::NoFrame);
set_size_and_pos(ui_server_chatlog, "server_chatlog");