diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 5f43eb17704c2b529294f2268a3f5144e5a40860..31d99735318bd64ccbe90984e57c9ed8eabf650e 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -138,7 +138,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);
 
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h
index 14db3956d0a339ba2bf8811455942617755a42a8..3bc14f07fef95a06f3f3dab23e3d82843555a777 100644
--- a/src/yuzu/game_list.h
+++ b/src/yuzu/game_list.h
@@ -89,7 +89,6 @@ private:
 
     void PopupContextMenu(const QPoint& menu_location);
     void RefreshGameDirectory();
-    bool ContainsAllWords(const QString& haystack, const QString& userinput) const;
 
     SearchField* search_field;
     GMainWindow* main_window = nullptr;