Commit 6affa41f authored by Laurent Montel's avatar Laurent Montel 😁

Fix load icon

parent de65042f
......@@ -68,7 +68,7 @@ StartGameDialog::StartGameDialog(QWidget *parent, KgThemeProvider *provider) :
ui->blackHuman->setIcon(QIcon::fromTheme("user-identity"));
QList< const KgDifficultyLevel * > diffList = Kg::difficulty()->levels();
const QIcon icon("games-difficult");
const QIcon icon = QIcon::fromTheme("games-difficult");
for (int i = 0; i < diffList.size(); i++) {
ui->blackSkill->addItem(icon, diffList.at(i)->title());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment