Commit be0ca1bd authored by hjk's avatar hjk
Browse files

debugger: less debug output

parent 15a691c2
...@@ -139,7 +139,7 @@ void QtcSettingsItem::readSettings(QSettings *settings) ...@@ -139,7 +139,7 @@ void QtcSettingsItem::readSettings(QSettings *settings)
return; return;
settings->beginGroup(m_settingsGroup); settings->beginGroup(m_settingsGroup);
setValue(settings->value(m_settingsKey, m_defaultValue), false); setValue(settings->value(m_settingsKey, m_defaultValue), false);
qDebug() << "READING: " << m_settingsKey << " -> " << m_value; //qDebug() << "READING: " << m_settingsKey << " -> " << m_value;
settings->endGroup(); settings->endGroup();
} }
...@@ -149,7 +149,7 @@ void QtcSettingsItem::writeSettings(QSettings *settings) ...@@ -149,7 +149,7 @@ void QtcSettingsItem::writeSettings(QSettings *settings)
return; return;
settings->beginGroup(m_settingsGroup); settings->beginGroup(m_settingsGroup);
settings->setValue(m_settingsKey, m_value); settings->setValue(m_settingsKey, m_value);
qDebug() << "WRITING: " << m_settingsKey << " -> " << m_value; //qDebug() << "WRITING: " << m_settingsKey << " -> " << m_value;
settings->endGroup(); settings->endGroup();
} }
...@@ -200,7 +200,7 @@ void QtcSettingsItem::uncheckableButtonClicked() ...@@ -200,7 +200,7 @@ void QtcSettingsItem::uncheckableButtonClicked()
{ {
QAbstractButton *button = qobject_cast<QAbstractButton *>(sender()); QAbstractButton *button = qobject_cast<QAbstractButton *>(sender());
QTC_ASSERT(button, return); QTC_ASSERT(button, return);
qDebug() << "UNCHECKABLE BUTTON: " << sender(); //qDebug() << "UNCHECKABLE BUTTON: " << sender();
m_action->trigger(); m_action->trigger();
} }
...@@ -208,7 +208,7 @@ void QtcSettingsItem::checkableButtonClicked(bool) ...@@ -208,7 +208,7 @@ void QtcSettingsItem::checkableButtonClicked(bool)
{ {
QAbstractButton *button = qobject_cast<QAbstractButton *>(sender()); QAbstractButton *button = qobject_cast<QAbstractButton *>(sender());
QTC_ASSERT(button, return); QTC_ASSERT(button, return);
qDebug() << "CHECKABLE BUTTON: " << sender(); //qDebug() << "CHECKABLE BUTTON: " << sender();
if (m_applyModes[sender()] == DeferedApply) if (m_applyModes[sender()] == DeferedApply)
m_deferedValue = button->isChecked(); m_deferedValue = button->isChecked();
else else
...@@ -219,7 +219,7 @@ void QtcSettingsItem::lineEditEditingFinished() ...@@ -219,7 +219,7 @@ void QtcSettingsItem::lineEditEditingFinished()
{ {
QLineEdit *lineEdit = qobject_cast<QLineEdit *>(sender()); QLineEdit *lineEdit = qobject_cast<QLineEdit *>(sender());
QTC_ASSERT(lineEdit, return); QTC_ASSERT(lineEdit, return);
qDebug() << "LINEEDIT: " << sender() << lineEdit->text(); //qDebug() << "LINEEDIT: " << sender() << lineEdit->text();
if (m_applyModes[sender()] == DeferedApply) if (m_applyModes[sender()] == DeferedApply)
m_deferedValue = lineEdit->text(); m_deferedValue = lineEdit->text();
else else
...@@ -231,7 +231,7 @@ void QtcSettingsItem::pathChooserEditingFinished() ...@@ -231,7 +231,7 @@ void QtcSettingsItem::pathChooserEditingFinished()
using namespace Core::Utils; using namespace Core::Utils;
PathChooser *pathChooser = qobject_cast<PathChooser *>(sender()); PathChooser *pathChooser = qobject_cast<PathChooser *>(sender());
QTC_ASSERT(pathChooser, return); QTC_ASSERT(pathChooser, return);
qDebug() << "PATHCHOOSER: " << sender() << pathChooser->path(); //qDebug() << "PATHCHOOSER: " << sender() << pathChooser->path();
if (m_applyModes[sender()] == DeferedApply) if (m_applyModes[sender()] == DeferedApply)
m_deferedValue = pathChooser->path(); m_deferedValue = pathChooser->path();
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment