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