aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-01 21:37:11 +0100
committerGitHub <noreply@github.com>2022-03-01 21:37:11 +0100
commit92633e5ff27008f4abcc631b9a8eb46665adef1f (patch)
tree1a0fe3f564ec8076754dbeb8fd1adbbe28562c73 /src/courtroom.cpp
parentad460ceaff180e0208cabac09fcca92a21c0d65a (diff)
try this reviewer (#668)
* try this reviewer * test the reviewer with a very bad piece of code * it can't handle spaces * run cmake to find all the files * file go brr haha * cmake needs qt installed * rename file once again * use windows * also doesn't like brackets * can't use windows * install qt the linux way * try using cmake this way * cmon cmake * install qt before running cmake * forgot catch2 * need to install as root * add build dir * delete test file * fix 3 warnings * enable clazy * Revert "fix 3 warnings" This reverts commit 7e64d4a546c397b5b69554ccf6765bf0a068f695. * disable 3 warnings * add a bracket for readability * install clazy before * get qt 5 real * try lukkas cmake modules * dupe courtroom again to test clang-tidy * courtroom.cpp was a mistake * remove magic number warning
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 6047cfa2..d8a48a61 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -725,8 +725,9 @@ void Courtroom::set_widgets()
log_margin = ao_app->get_log_margin();
log_timestamp = ao_app->get_log_timestamp();
log_timestamp_format = ao_app->get_log_timestamp_format();
- if (regenerate)
+ if (regenerate) {
regenerate_ic_chatlog();
+ }
set_size_and_pos(ui_ic_chatlog, "ic_chatlog");
ui_ic_chatlog->setFrameShape(QFrame::NoFrame);