diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2024-05-10 09:31:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-10 16:31:43 +0200 |
| commit | 951766666621fa77e257e6b5616fe4ab1eb2a52f (patch) | |
| tree | b47c7d27a91cee606069abddf12cae7bf4718fed /src/charselect.cpp | |
| parent | f2cf70232e015630bdc097381527dd70e8f06fb9 (diff) | |
Use the static image lookup for char_icons (#954)
Diffstat (limited to 'src/charselect.cpp')
| -rw-r--r-- | src/charselect.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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; |
