Fix some issues in the newly added themes

This commit is contained in:
Petr Mrázek
2014-10-27 00:41:40 +01:00
parent 547f6f77d0
commit 9e8a74cc89
4 changed files with 11 additions and 10 deletions

View File

@ -37,7 +37,12 @@ public:
}
QIcon icon() const override
{
return QIcon::fromTheme("externaltools");
auto icon = QIcon::fromTheme("externaltools");
if(icon.isNull())
{
icon = QIcon::fromTheme("loadermods");
}
return icon;
}
QString id() const override
{