|
|
@ -38,8 +38,9 @@ namespace Plugin
|
|
|
|
|
|
|
|
|
|
|
|
class CLogPlugin;
|
|
|
|
class CLogPlugin;
|
|
|
|
|
|
|
|
|
|
|
|
CLogSettingsPage::CLogSettingsPage(QObject *parent)
|
|
|
|
CLogSettingsPage::CLogSettingsPage(CLogPlugin *logPlugin, QObject *parent)
|
|
|
|
: IOptionsPage(parent),
|
|
|
|
: IOptionsPage(parent),
|
|
|
|
|
|
|
|
m_logPlugin(logPlugin),
|
|
|
|
m_currentPage(NULL),
|
|
|
|
m_currentPage(NULL),
|
|
|
|
m_error(true),
|
|
|
|
m_error(true),
|
|
|
|
m_warning(true),
|
|
|
|
m_warning(true),
|
|
|
@ -98,13 +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::IPlugin *plugin = p->pluginByName("LogPlugin")->plugin();
|
|
|
|
|
|
|
|
CLogPlugin* lp = dynamic_cast<CLogPlugin*>(plugin);
|
|
|
|
|
|
|
|
if (lp)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
lp->setDisplayers();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CLogSettingsPage::readSettings()
|
|
|
|
void CLogSettingsPage::readSettings()
|
|
|
|