Quellcode durchsuchen

Merge pull request #4941 from lioncash/config

configure_input_player: Use static qualifier for IsProfileNameValid()
Morph vor 5 Jahren
Ursprung
Commit
715f0c3b0c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/yuzu/configuration/configure_input_player.cpp

+ 1 - 1
src/yuzu/configuration/configure_input_player.cpp

@@ -1137,7 +1137,7 @@ void ConfigureInputPlayer::CreateProfile() {
         return;
         return;
     }
     }
 
 
-    if (!profiles->IsProfileNameValid(profile_name.toStdString())) {
+    if (!InputProfiles::IsProfileNameValid(profile_name.toStdString())) {
         QMessageBox::critical(this, tr("Create Input Profile"),
         QMessageBox::critical(this, tr("Create Input Profile"),
                               tr("The given profile name is not valid!"));
                               tr("The given profile name is not valid!"));
         return;
         return;