reverting log plugin to rev 1660

This commit is contained in:
sfb 2011-08-04 09:21:38 -05:00
parent 8dda8385c2
commit 07b3d56070
2 changed files with 16 additions and 25 deletions

View file

@ -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

View file

@ -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()