Replace getThemedIcon with APPLICATION->logo()

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-09-19 00:03:22 +01:00
parent 1724bdaeb9
commit cd4f119e4b
67 changed files with 93 additions and 133 deletions

View File

@@ -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;
}