diff options
author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-06-05 15:30:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 15:30:51 -0400 |
commit | 1eb979221f6664938456cefdbd5c79b7e59e2b8c (patch) | |
tree | cffa349913d1abdd72a5fcc1e3735830f2fd45e2 /src/yuzu/applets/profile_select.cpp | |
parent | dd4fe0dab1c6a5559e416833a89ca4520b69a74c (diff) | |
parent | cfc9d92b38bae6d9815ae06bbe5e2d800887f897 (diff) |
Merge pull request #2527 from lioncash/index
yuzu/{profile_select, software_keyboard}: Tidy up interface
Diffstat (limited to 'src/yuzu/applets/profile_select.cpp')
-rw-r--r-- | src/yuzu/applets/profile_select.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/yuzu/applets/profile_select.cpp b/src/yuzu/applets/profile_select.cpp index 42e26b978..6b5c7ba61 100644 --- a/src/yuzu/applets/profile_select.cpp +++ b/src/yuzu/applets/profile_select.cpp @@ -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; } |