فهرست منبع

configure_input_player: Use static qualifier for IsProfileNameValid()

This is a static member function, so we don't need use an existing
instance to call this function.
Lioncash 5 سال پیش
والد
کامیت
be4fc777c0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;
     }
 
-    if (!profiles->IsProfileNameValid(profile_name.toStdString())) {
+    if (!InputProfiles::IsProfileNameValid(profile_name.toStdString())) {
         QMessageBox::critical(this, tr("Create Input Profile"),
                               tr("The given profile name is not valid!"));
         return;