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 | 5bdd042c3ec41a2bed7480f4595140a7b1dbf6ad (patch) | |
| tree | 2261b4db45b1aa79d4199c5f1e57cfc586b52389 /src/yuzu/applets/profile_select.cpp | |
| parent | 8cc94863645caf5cfe373d1dd1781a0e6e8b1bd2 (diff) | |
applets/profile_select: Resolve a warning in exec()
Resolves a warning where not all control paths return a value.
Diffstat (limited to 'src/yuzu/applets/profile_select.cpp')
| -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() { |
