summaryrefslogtreecommitdiff
path: root/src/gamefeaturesproxy.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2024-07-28 14:39:20 +0200
committerGitHub <noreply@github.com>2024-07-28 14:39:20 +0200
commitf11925ab88cd5881c7e5dd35c40744d95b3eab2d (patch)
treed97bf8ede38ce5b25f56a8ac4bf91bb084d3757b /src/gamefeaturesproxy.cpp
parent2395c13c25b5b93a1cf7c5f18921ff8503015834 (diff)
Fix FIXABLE status for ModDataChecker. (#2080)
* Fix FIXABLE status for ModDataChecker. * Fix issue with registerFeature() without games.
Diffstat (limited to 'src/gamefeaturesproxy.cpp')
-rw-r--r--src/gamefeaturesproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamefeaturesproxy.cpp b/src/gamefeaturesproxy.cpp
index 3adac353..1c833a2f 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<MOBase::GameFeature> feature,
int priority, bool replace)
{
- return registerFeature({}, feature, priority, replace);
+ return registerFeature(QStringList(), feature, priority, replace);
}
bool GameFeaturesProxy::unregisterFeature(std::shared_ptr<MOBase::GameFeature> feature)