mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-06 05:16:59 +03:00
Replace getThemedIcon with APPLICATION->logo()
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
1724bdaeb9
commit
cd4f119e4b
67 changed files with 93 additions and 133 deletions
|
|
@ -1489,12 +1489,9 @@ std::shared_ptr<JavaInstallList> Application::javalist()
|
|||
return m_javalist;
|
||||
}
|
||||
|
||||
QIcon Application::getThemedIcon(const QString& name)
|
||||
QIcon Application::logo()
|
||||
{
|
||||
if (name == "logo") {
|
||||
return QIcon(":/" + BuildConfig.LAUNCHER_SVGFILENAME);
|
||||
}
|
||||
return QIcon::fromTheme(name);
|
||||
return QIcon(":/" + BuildConfig.LAUNCHER_SVGFILENAME);
|
||||
}
|
||||
|
||||
bool Application::openJsonEditor(const QString& filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue