2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #4941 from lioncash/config

configure_input_player: Use static qualifier for IsProfileNameValid()
This commit is contained in:
Morph 2020-11-20 14:16:01 +08:00 committed by GitHub
commit 715f0c3b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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