mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Remove EmuState
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
|
||||
QList<QPixmap> Resources::m_platforms;
|
||||
QList<QPixmap> Resources::m_countries;
|
||||
QList<QPixmap> Resources::m_ratings;
|
||||
QList<QPixmap> Resources::m_misc;
|
||||
|
||||
QIcon Resources::GetIcon(const QString& name, const QString& dir)
|
||||
@ -73,11 +72,6 @@ QPixmap Resources::GetScaledPixmap(const std::string& name)
|
||||
return GetPixmap(QString::fromStdString(name), GetResourcesDir());
|
||||
}
|
||||
|
||||
QPixmap Resources::GetScaledThemePixmap(const std::string& name)
|
||||
{
|
||||
return GetPixmap(QString::fromStdString(name), GetCurrentThemeDir());
|
||||
}
|
||||
|
||||
void Resources::Init()
|
||||
{
|
||||
for (const std::string& platform :
|
||||
@ -97,16 +91,6 @@ void Resources::Init()
|
||||
m_misc.append(GetScaledPixmap("nobanner"));
|
||||
m_misc.append(GetScaledPixmap("dolphin_logo"));
|
||||
m_misc.append(GetScaledPixmap("Dolphin"));
|
||||
|
||||
QObject::connect(&Settings::Instance(), &Settings::ThemeChanged, Resources::InitThemeIcons);
|
||||
InitThemeIcons();
|
||||
}
|
||||
|
||||
void Resources::InitThemeIcons()
|
||||
{
|
||||
m_ratings = {GetScaledThemePixmap("rating0"), GetScaledThemePixmap("rating1"),
|
||||
GetScaledThemePixmap("rating2"), GetScaledThemePixmap("rating3"),
|
||||
GetScaledThemePixmap("rating4"), GetScaledThemePixmap("rating5")};
|
||||
}
|
||||
|
||||
QPixmap Resources::GetPlatform(int platform)
|
||||
@ -119,11 +103,6 @@ QPixmap Resources::GetCountry(int country)
|
||||
return m_countries[country];
|
||||
}
|
||||
|
||||
QPixmap Resources::GetRating(int rating)
|
||||
{
|
||||
return m_ratings[rating];
|
||||
}
|
||||
|
||||
QPixmap Resources::GetMisc(int id)
|
||||
{
|
||||
return m_misc[id];
|
||||
|
Reference in New Issue
Block a user