summaryrefslogtreecommitdiffstats
path: root/src/common/gui/config_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/gui/config_widget.h')
-rw-r--r--src/common/gui/config_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/gui/config_widget.h b/src/common/gui/config_widget.h
index 28fc4eb..e981aac 100644
--- a/src/common/gui/config_widget.h
+++ b/src/common/gui/config_widget.h
@@ -78,7 +78,7 @@ private:
void save(Type type, TQWidget *widget) {
switch (type.data().defValue.type()) {
case TQVariant::Bool:
- writeConfigEntry(type, TQVariant(static_cast<TQCheckBox *>(widget)->isChecked(), 0));
+ writeConfigEntry(type, TQVariant(static_cast<TQCheckBox *>(widget)->isChecked()));
break;
default: Q_ASSERT(false); break;
}