diff options
| -rw-r--r-- | src/yuzu/game_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index 8b5c4a10a..e3661b390 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp | |||
| @@ -161,7 +161,7 @@ GameListSearchField::GameListSearchField(GameList* parent) : QWidget{parent} { | |||
| 161 | * @return true if the haystack contains all words of userinput | 161 | * @return true if the haystack contains all words of userinput |
| 162 | */ | 162 | */ |
| 163 | static bool ContainsAllWords(const QString& haystack, const QString& userinput) { | 163 | static bool ContainsAllWords(const QString& haystack, const QString& userinput) { |
| 164 | const QStringList userinput_split = userinput.split(QLatin1Char{' '}, QString::SkipEmptyParts); | 164 | const QStringList userinput_split = userinput.split(QLatin1Char{' '}, Qt::SkipEmptyParts); |
| 165 | 165 | ||
| 166 | return std::all_of(userinput_split.begin(), userinput_split.end(), | 166 | return std::all_of(userinput_split.begin(), userinput_split.end(), |
| 167 | [&haystack](const QString& s) { return haystack.contains(s); }); | 167 | [&haystack](const QString& s) { return haystack.contains(s); }); |