summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/profile_select.cpp
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-06-05 15:30:51 -0400
committerGitHub <noreply@github.com>2019-06-05 15:30:51 -0400
commit1eb979221f6664938456cefdbd5c79b7e59e2b8c (patch)
treecffa349913d1abdd72a5fcc1e3735830f2fd45e2 /src/yuzu/applets/profile_select.cpp
parentdd4fe0dab1c6a5559e416833a89ca4520b69a74c (diff)
parentcfc9d92b38bae6d9815ae06bbe5e2d800887f897 (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.cpp8
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;
}