Replace getThemedIcon with APPLICATION->logo()
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -91,12 +91,12 @@ class IconProxy : public QIdentityProxyModel {
|
||||
if (!var.isNull()) {
|
||||
auto string = var.toString();
|
||||
if (string == "warning") {
|
||||
return APPLICATION->getThemedIcon("status-yellow");
|
||||
return QIcon::fromTheme("status-yellow");
|
||||
} else if (string == "error") {
|
||||
return APPLICATION->getThemedIcon("status-bad");
|
||||
return QIcon::fromTheme("status-bad");
|
||||
}
|
||||
}
|
||||
return APPLICATION->getThemedIcon("status-good");
|
||||
return QIcon::fromTheme("status-good");
|
||||
}
|
||||
return var;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user