diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-10-25 09:16:43 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-10-25 09:16:43 -0400 |
commit | 9afbcd9e8a346297a3522b61cd80dc3a02a93b59 (patch) | |
tree | 2261b4db45b1aa79d4199c5f1e57cfc586b52389 | |
parent | ab052cf6847faf2c6f3ea5229b37626743b6a050 (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.cpp | 2 |
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() { |