aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/aocharbutton.cpp2
-rw-r--r--src/charselect.cpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/aocharbutton.cpp b/src/aocharbutton.cpp
index 1c9193c9..4f00e3c8 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 3fc96546..443c1f20 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;