Simplified module registration
This commit is contained in:
parent
456180325e
commit
a29671593e
5 changed files with 24 additions and 13 deletions
|
|
@ -143,9 +143,4 @@ void CrudPageModule::moduleAction_open(
|
|||
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
std::weak_ptr<PluginModule> register_variable = createPluginModule<CrudPageModule>
|
||||
("CRUD tool", "pglab.crudpage");
|
||||
|
||||
}
|
||||
REGISTER_PLUGIN_MODULE(CrudPageModule, "CRUD tool", "pglab.crudpage")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue