2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01: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:
Lioncash 2020-11-17 23:12:42 -05:00
parent abda366362
commit be4fc777c0

View file

@ -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;