diff options
| author | Seth Riley <17361645+Qudix@users.noreply.github.com> | 2020-11-06 13:21:07 -0600 |
|---|---|---|
| committer | Seth Riley <17361645+Qudix@users.noreply.github.com> | 2020-11-06 13:21:07 -0600 |
| commit | b7b843d42badab83b262260035658259f24e4f9a (patch) | |
| tree | fcb7891f2c597cc2856d8f47bed6516777d1a1ae /src/plugincontainer.cpp | |
| parent | 92f3694acdf3b576d61e454a00c7a40ab877bed9 (diff) | |
| parent | 93e8488a63ea3d63a67df739bbf4ed0ce67e372b (diff) | |
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master
Diffstat (limited to 'src/plugincontainer.cpp')
| -rw-r--r-- | src/plugincontainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugincontainer.cpp b/src/plugincontainer.cpp index a571a0aa..908677c2 100644 --- a/src/plugincontainer.cpp +++ b/src/plugincontainer.cpp @@ -239,8 +239,6 @@ bool PluginContainer::registerPlugin(QObject *plugin, const QString &fileName) if (m_Organizer) {
m_Organizer->settings().plugins().registerPlugin(pluginObj);
}
-
- pluginObj->registered();
}
{ // diagnosis plugin
@@ -269,6 +267,7 @@ bool PluginContainer::registerPlugin(QObject *plugin, const QString &fileName) IPluginGame *game = qobject_cast<IPluginGame*>(plugin);
if (initPlugin(game)) {
bf::at_key<IPluginGame>(m_Plugins).push_back(game);
+ game->detectGame();
registerGame(game);
return true;
}
|
