Przeglądaj źródła

applets/profile_select: Resolve a warning in exec()

Resolves a warning where not all control paths return a value.
Morph 5 lat temu
rodzic
commit
9afbcd9e8a
1 zmienionych plików z 1 dodań i 1 usunięć
  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() {