Explorar el Código

Merge pull request #4826 from Morph1984/resolve-warning

applets/profile_select: Resolve a warning in exec()
LC hace 5 años
padre
commit
fe53ee26ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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() {