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

@@ -40,7 +40,6 @@
#pragma once
#include <ui/pages/modplatform/DataPackPage.h>
#include "Application.h"
#include "modplatform/ResourceAPI.h"
@@ -58,7 +57,7 @@ static inline QString displayName()
}
static inline QIcon icon()
{
return APPLICATION->getThemedIcon("flame");
return QIcon::fromTheme("flame");
}
static inline QString id()
{
@@ -181,8 +180,6 @@ class FlameShaderPackPage : public ShaderPackResourcePage {
void openUrl(const QUrl& url) override;
};
class FlameDataPackPage : public DataPackResourcePage {
Q_OBJECT