|
|
@ -68,7 +68,7 @@ namespace Plugin
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_UNUSED(errorString);
|
|
|
|
Q_UNUSED(errorString);
|
|
|
|
m_plugMan = pluginManager;
|
|
|
|
m_plugMan = pluginManager;
|
|
|
|
m_logSettingsPage = new CLogSettingsPage(this);
|
|
|
|
m_logSettingsPage = new CLogSettingsPage(this, this);
|
|
|
|
addAutoReleasedObject(m_logSettingsPage);
|
|
|
|
addAutoReleasedObject(m_logSettingsPage);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -139,10 +139,10 @@ namespace Plugin
|
|
|
|
QSettings *settings = Core::ICore::instance()->settings();
|
|
|
|
QSettings *settings = Core::ICore::instance()->settings();
|
|
|
|
|
|
|
|
|
|
|
|
settings->beginGroup(Core::Constants::LOG_SECTION);
|
|
|
|
settings->beginGroup(Core::Constants::LOG_SECTION);
|
|
|
|
bool error = settings->value(Core::Constants::LOG_ERROR, true).toBool();
|
|
|
|
bool error = settings->value(Core::Constants::LOG_ERROR, true).toBool();
|
|
|
|
bool warning = settings->value(Core::Constants::LOG_WARNING, true).toBool();
|
|
|
|
bool warning = settings->value(Core::Constants::LOG_WARNING, true).toBool();
|
|
|
|
bool debug = settings->value(Core::Constants::LOG_DEBUG, true).toBool();
|
|
|
|
bool debug = settings->value(Core::Constants::LOG_DEBUG, true).toBool();
|
|
|
|
bool assert = settings->value(Core::Constants::LOG_ASSERT, true).toBool();
|
|
|
|
bool assert = settings->value(Core::Constants::LOG_ASSERT, true).toBool();
|
|
|
|
bool info = settings->value(Core::Constants::LOG_INFO, true).toBool();
|
|
|
|
bool info = settings->value(Core::Constants::LOG_INFO, true).toBool();
|
|
|
|
settings->endGroup();
|
|
|
|
settings->endGroup();
|
|
|
|
|
|
|
|
|
|
|
|