diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2021-04-23 22:17:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 14:17:45 -0500 |
| commit | 31abe0c84845556d038cdd4a67bd871448adffd1 (patch) | |
| tree | a36aa9b5b2926d9c5e8789730ad13ef22cd94a56 /src/text_file_functions.cpp | |
| parent | 5fca08537b6f2c6c581156c4dc07bc9ba61b17ef (diff) | |
Fix get_court_sfx using latin1 instead of utf-8 (#540)
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
Diffstat (limited to 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index af4c232c..1df1e41f 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -477,7 +477,7 @@ QString AOApplication::get_court_sfx(QString p_identifier, QString p_misc) { QString value = get_config_value(p_identifier, "courtroom_sounds.ini", current_theme, get_subtheme(), default_theme, p_misc); if (!value.isEmpty()) - return value.toLatin1(); + return value.toUtf8(); return ""; } |
