Procházet zdrojové kódy

Merge pull request #4826 from Morph1984/resolve-warning

applets/profile_select: Resolve a warning in exec()
LC před 5 roky
rodič
revize
fe53ee26ce
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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() {