diff --git a/pglab/plugin_support/PluginModule.h b/pglab/plugin_support/PluginModule.h index e069246..b3ea1db 100644 --- a/pglab/plugin_support/PluginModule.h +++ b/pglab/plugin_support/PluginModule.h @@ -62,7 +62,7 @@ std::shared_ptr createPluginModule(QString name, QString ident) #define REGISTER_PLUGIN_MODULE(module, name, ident) \ namespace {\ std::weak_ptr register_variable = createPluginModule\ - (#name, #ident);} + (name, ident);} #endif // PLUGIN_SUPPORTPLUGINMODULE_H diff --git a/pglab/plugin_support/PluginRegister.cpp b/pglab/plugin_support/PluginRegister.cpp index f80791c..8b1dd99 100644 --- a/pglab/plugin_support/PluginRegister.cpp +++ b/pglab/plugin_support/PluginRegister.cpp @@ -32,6 +32,7 @@ void PluginRegister::initModules() void PluginRegister::registerModule(PluginModuleSPtr module) { + qDebug() << "registerModule " << module->identifier(); m_moduleMap.emplace(module->identifier(), module); }