diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-18 18:55:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 18:55:00 -0700 |
commit | 2975f7820e1aaf69e436deb7b1b0920bc1fed494 (patch) | |
tree | e4833b52f61b2e9bf8cf55e3132ae02cb7471c4e /src/yuzu/game_list.cpp | |
parent | 29aff8d5ab46c8d0199aa4bfa7eeff5d4fa2d7ef (diff) | |
parent | d17e172d924417517c75085f1c2b20d4dedd7670 (diff) |
Merge pull request #684 from lioncash/nonmember
game_list: Make ContainsAllWords an internally linked non-member function
Diffstat (limited to 'src/yuzu/game_list.cpp')
-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 352bc1839..e1ca0e77b 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -139,7 +139,7 @@ GameList::SearchField::SearchField(GameList* parent) : QWidget{parent} { * @param userinput String containing all words getting checked * @return true if the haystack contains all words of userinput */ -bool GameList::ContainsAllWords(const QString& haystack, const QString& userinput) const { +static bool ContainsAllWords(const QString& haystack, const QString& userinput) { const QStringList userinput_split = userinput.split(' ', QString::SplitBehavior::SkipEmptyParts); |