reverting log plugin to rev 1660
This commit is contained in:
parent
bdac2b9489
commit
4462383a26
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