Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes

Makes the parameter strongly-typed and doesn't accept arbitrary int
values.
This commit is contained in:
Lioncash
2018-07-10 15:10:03 -04:00
parent b9960777a7
commit a0642b3b00
4 changed files with 26 additions and 20 deletions

View File

@ -67,7 +67,7 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
QStringLiteral("</p>"));
QLabel* logo = new QLabel();
logo->setPixmap(Resources::GetMisc(Resources::LOGO_LARGE));
logo->setPixmap(Resources::GetMisc(Resources::MiscID::LogoLarge));
logo->setContentsMargins(30, 0, 30, 0);
QVBoxLayout* main_layout = new QVBoxLayout;