aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-10-25 09:16:43 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-10-25 09:16:43 -0400
commit9afbcd9e8a346297a3522b61cd80dc3a02a93b59 (patch)
tree2261b4db45b1aa79d4199c5f1e57cfc586b52389
parentab052cf6847faf2c6f3ea5229b37626743b6a050 (diff)
applets/profile_select: Resolve a warning in exec()
Resolves a warning where not all control paths return a value.
-rw-r--r--src/yuzu/applets/profile_select.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/applets/profile_select.cpp b/src/yuzu/applets/profile_select.cpp
index 68b76269d0..c9a2f86019 100644
--- a/src/yuzu/applets/profile_select.cpp
+++ b/src/yuzu/applets/profile_select.cpp
@@ -120,7 +120,7 @@ int QtProfileSelectionDialog::exec() {
user_index = 0;
return QDialog::Accepted;
}
- QDialog::exec();
+ return QDialog::exec();
}
void QtProfileSelectionDialog::accept() {