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
commit 436a453514
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;
}