mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 19:49:55 +00:00
reverting log plugin to rev 1660
This commit is contained in:
parent
387bca976f
commit
10c47cea64
2 changed files with 16 additions and 25 deletions
|
@ -103,7 +103,7 @@ namespace Plugin
|
||||||
|
|
||||||
QString CLogPlugin::name() const
|
QString CLogPlugin::name() const
|
||||||
{
|
{
|
||||||
return "LogPlugin";
|
return "NeL Log";
|
||||||
}
|
}
|
||||||
|
|
||||||
QString CLogPlugin::version() const
|
QString CLogPlugin::version() const
|
||||||
|
|
|
@ -99,16 +99,7 @@ namespace Plugin
|
||||||
m_info = m_ui.infoCheck->isChecked();
|
m_info = m_ui.infoCheck->isChecked();
|
||||||
|
|
||||||
writeSettings();
|
writeSettings();
|
||||||
ExtensionSystem::IPluginManager *p = Core::ICore::instance()->pluginManager();
|
m_logPlugin->setDisplayers();
|
||||||
ExtensionSystem::IPluginSpec *spec = p->pluginByName("LogPlugin");
|
|
||||||
|
|
||||||
if(spec)
|
|
||||||
{
|
|
||||||
ExtensionSystem::IPlugin *plugin = spec->plugin();
|
|
||||||
CLogPlugin* lp = dynamic_cast<CLogPlugin*>(plugin);
|
|
||||||
if (lp)
|
|
||||||
lp->setDisplayers();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLogSettingsPage::readSettings()
|
void CLogSettingsPage::readSettings()
|
||||||
|
|
Loading…
Reference in a new issue