diff options
| author | David Skoland <davidskoland@gmail.com> | 2018-11-16 02:01:08 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2018-11-16 02:01:08 +0100 |
| commit | 8ffdd2afb84ec483160f156d24cf786165a9506c (patch) | |
| tree | 39212e8d648e458188ce49823963fb1c88b70bd2 /charselect.cpp | |
| parent | 11c2f258ebf48f515cdba5c7ae9cccec447604dd (diff) | |
refactored path functions and added support for case-sensitive filesystems
Diffstat (limited to 'charselect.cpp')
| -rw-r--r-- | charselect.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/charselect.cpp b/charselect.cpp index 4e4bccbf..5686dd87 100644 --- a/charselect.cpp +++ b/charselect.cpp @@ -140,12 +140,11 @@ void Courtroom::char_clicked(int n_char) { int n_real_char = n_char + current_char_page * max_chars_on_page; - QString char_ini_path = ao_app->get_character_path(char_list.at(n_real_char).name) + "char.ini"; + QString char_ini_path = ao_app->get_character_path(char_list.at(n_real_char).name, "char.ini"); qDebug() << "char_ini_path" << char_ini_path; if (!file_exists(char_ini_path)) { - qDebug() << "did not find " << char_ini_path; call_notice("Could not find " + char_ini_path); return; } |
