summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-17 23:12:42 -0500
committerGravatar Lioncash2020-11-17 23:12:44 -0500
commitbe4fc777c08a880e9024112dedcc290463fd215c (patch)
treed93a087679a13a9f06bd87bdccdc9b47ed7f317e
parentMerge pull request #4866 from Morph1984/mjolnir-p3-prod (diff)
downloadyuzu-be4fc777c08a880e9024112dedcc290463fd215c.tar.gz
yuzu-be4fc777c08a880e9024112dedcc290463fd215c.tar.xz
yuzu-be4fc777c08a880e9024112dedcc290463fd215c.zip
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.
-rw-r--r--src/yuzu/configuration/configure_input_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp
index 72640f5e7..56ab32a35 100644
--- a/src/yuzu/configuration/configure_input_player.cpp
+++ b/src/yuzu/configuration/configure_input_player.cpp
@@ -1137,7 +1137,7 @@ void ConfigureInputPlayer::CreateProfile() {
1137 return; 1137 return;
1138 } 1138 }
1139 1139
1140 if (!profiles->IsProfileNameValid(profile_name.toStdString())) { 1140 if (!InputProfiles::IsProfileNameValid(profile_name.toStdString())) {
1141 QMessageBox::critical(this, tr("Create Input Profile"), 1141 QMessageBox::critical(this, tr("Create Input Profile"),
1142 tr("The given profile name is not valid!")); 1142 tr("The given profile name is not valid!"));
1143 return; 1143 return;