aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-02-13 21:03:53 -0600
committerGitHub <noreply@github.com>2021-02-13 21:03:53 -0600
commit5fd3ed0fea0b62410e69ded2d96886e3635e8b17 (patch)
tree8b4f8b9d3312ef7a24bc1918624c1cc25b82fa23 /src/courtroom.cpp
parentfe00c6b7defe10a2c63b690c04ae2779fcccf859 (diff)
parent36a1e26069f08bcc39986c109b5b53857fe1725c (diff)
Merge pull request #468 from AttorneyOnline/fix/cont-hitch-mitigation
Mitigate hitching when using continuous playback, fix a botch in handling misc themes
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 19a00c52..16ec73e8 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -1160,7 +1160,7 @@ void Courtroom::set_size_and_pos(QWidget *p_widget, QString p_identifier,
QString filename = "courtroom_design.ini";
pos_size_type design_ini_result =
- ao_app->get_element_dimensions(p_identifier, filename, p_char);
+ ao_app->get_element_dimensions(p_identifier, filename, ao_app->get_chat(p_char));
if (design_ini_result.width < 0 || design_ini_result.height < 0) {
qDebug() << "W: could not find \"" << p_identifier << "\" in " << filename;