summaryrefslogtreecommitdiff
path: root/src/yuzu/game_list.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-10-11 18:27:41 -0700
committerGitHub <noreply@github.com>2021-10-11 18:27:41 -0700
commit2a77c29c6d16275f20c52a0d4791d53fd62b66da (patch)
tree85fbb6ba5cdeee714b3cfda517511bc00ff48d90 /src/yuzu/game_list.cpp
parentc709fbba2375321f5ffb727b2f0e4579ce9d113b (diff)
parent39b3c9022dc34b1f0e64278b88346c03003f5019 (diff)
Merge pull request #7161 from MightyCreak/fix-some-warnings
Fix a few warnings
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r--src/yuzu/game_list.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index f9d949e75..ba54423ff 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -159,8 +159,7 @@ GameListSearchField::GameListSearchField(GameList* parent) : QWidget{parent} {
* @return true if the haystack contains all words of userinput
*/
static bool ContainsAllWords(const QString& haystack, const QString& userinput) {
- const QStringList userinput_split =
- userinput.split(QLatin1Char{' '}, QString::SplitBehavior::SkipEmptyParts);
+ const QStringList userinput_split = userinput.split(QLatin1Char{' '}, Qt::SkipEmptyParts);
return std::all_of(userinput_split.begin(), userinput_split.end(),
[&haystack](const QString& s) { return haystack.contains(s); });