From ec2f74f2ba2df2b51ddb8f847247959f4da14091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sun, 28 Jul 2024 14:24:43 +0200 Subject: [PATCH] Fix issue with registerFeature() without games. --- src/gamefeaturesproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamefeaturesproxy.cpp b/src/gamefeaturesproxy.cpp index 3adac3539..1c833a2fe 100644 --- a/src/gamefeaturesproxy.cpp +++ b/src/gamefeaturesproxy.cpp @@ -28,7 +28,7 @@ bool GameFeaturesProxy::registerFeature(MOBase::IPluginGame* game, bool GameFeaturesProxy::registerFeature(std::shared_ptr feature, int priority, bool replace) { - return registerFeature({}, feature, priority, replace); + return registerFeature(QStringList(), feature, priority, replace); } bool GameFeaturesProxy::unregisterFeature(std::shared_ptr feature)