Parcourir la source

applets/profile_select: Resolve a warning in exec()

Resolves a warning where not all control paths return a value.
Morph il y a 5 ans
Parent
commit
9afbcd9e8a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/yuzu/applets/profile_select.cpp

+ 1 - 1
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() {