1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-07 23:06:33 -05:00

Merge pull request #2527 from lioncash/index

yuzu/{profile_select, software_keyboard}: Tidy up interface
This commit is contained in:
Zach Hilman
2019-06-05 15:30:51 -04:00
committed by GitHub
5 changed files with 16 additions and 34 deletions

View File

@@ -122,21 +122,15 @@ QtProfileSelectionDialog::QtProfileSelectionDialog(QWidget* parent)
QtProfileSelectionDialog::~QtProfileSelectionDialog() = default;
void QtProfileSelectionDialog::accept() {
ok = true;
QDialog::accept();
}
void QtProfileSelectionDialog::reject() {
ok = false;
user_index = 0;
QDialog::reject();
}
bool QtProfileSelectionDialog::GetStatus() const {
return ok;
}
u32 QtProfileSelectionDialog::GetIndex() const {
int QtProfileSelectionDialog::GetIndex() const {
return user_index;
}