diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/global/generic_config.cpp | 2 | ||||
| -rw-r--r-- | src/common/gui/config_widget.h | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/global/generic_config.cpp b/src/common/global/generic_config.cpp index 63f3f08..a4a8827 100644 --- a/src/common/global/generic_config.cpp +++ b/src/common/global/generic_config.cpp @@ -223,7 +223,7 @@ void GenericConfig::deleteGroup(const TQString &group)  TQVariant GenericConfig::readVariantEntry(const TQString &key, const TQVariant &defValue) const  {    switch (defValue.type()) { -    case TQVariant::Bool: return TQVariant(readBoolEntry(key, defValue.toBool()), 0); +    case TQVariant::Bool: return TQVariant(readBoolEntry(key, defValue.toBool()));      case TQVariant::UInt: return readUIntEntry(key, defValue.toUInt());      default: break;    } 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;      }  | 
