diff --git a/src/aocharbutton.cpp b/src/aocharbutton.cpp index 1c9193c..4f00e3c 100644 --- a/src/aocharbutton.cpp +++ b/src/aocharbutton.cpp @@ -64,7 +64,7 @@ void AOCharButton::set_passworded() { ui_passworded->show(); } void AOCharButton::set_image(QString p_character) { QString image_path = ao_app->get_image_suffix( - ao_app->get_character_path(p_character, "char_icon")); + ao_app->get_character_path(p_character, "char_icon"), true); this->setText(""); diff --git a/src/charselect.cpp b/src/charselect.cpp index 3fc9654..443c1f2 100644 --- a/src/charselect.cpp +++ b/src/charselect.cpp @@ -304,8 +304,10 @@ void Courtroom::character_loading_finished() // create the character tree item QTreeWidgetItem *treeItem = new QTreeWidgetItem(); treeItem->setText(0, char_list.at(n).name); - treeItem->setIcon(0, QIcon(ao_app->get_image_suffix( - ao_app->get_character_path(char_list.at(n).name, "char_icon")))); + treeItem->setIcon( + 0, QIcon(ao_app->get_image_suffix( + ao_app->get_character_path(char_list.at(n).name, "char_icon"), + true))); treeItem->setText(1, QString::number(n)); // category logic QTreeWidgetItem *category;