summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-02-01 17:45:25 +0100
committerGitHub <noreply@github.com>2022-02-01 17:45:25 +0100
commitf56226e17f4cf4f73201e8162bc8bdefc6468451 (patch)
treea20b71a8de4df1f7c0033331a112e9fe9c916104
parentMerge pull request #7827 from FernandoS27/dynamite-costume-with-the-wick-outside (diff)
parentyuzu/game_list: Use non-deprecated version of QString's split() function (diff)
downloadyuzu-f56226e17f4cf4f73201e8162bc8bdefc6468451.tar
yuzu-f56226e17f4cf4f73201e8162bc8bdefc6468451.tar.gz
yuzu-f56226e17f4cf4f73201e8162bc8bdefc6468451.tar.bz2
yuzu-f56226e17f4cf4f73201e8162bc8bdefc6468451.tar.lz
yuzu-f56226e17f4cf4f73201e8162bc8bdefc6468451.tar.xz
yuzu-f56226e17f4cf4f73201e8162bc8bdefc6468451.tar.zst
yuzu-f56226e17f4cf4f73201e8162bc8bdefc6468451.zip
-rw-r--r--src/yuzu/game_list.cpp2
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} {
* @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::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); });