mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
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:
parent
b9960777a7
commit
a0642b3b00
4 changed files with 26 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue