Merge pull request #342 from fn2006/prism-svg-fix

This commit is contained in:
txtsd
2022-10-30 01:51:14 +05:30
committed by Sefa Eyeoglu
parent 34687049b1
commit 392bf7a97b
4 changed files with 7 additions and 4 deletions

View File

@ -1165,7 +1165,7 @@ void Application::setIconTheme(const QString& name)
QIcon Application::getThemedIcon(const QString& name)
{
if(name == "logo") {
return QIcon(":/org.prismlauncher.PrismLauncher.svg"); // FIXME: Make this a BuildConfig variable
return QIcon(":/" + BuildConfig.LAUNCHER_SVGFILENAME);
}
return QIcon::fromTheme(name);
}