mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 05:07:58 -05:00
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.
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user