summaryrefslogtreecommitdiffstats
path: root/src/common/gui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-29 15:14:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-29 15:14:42 +0900
commit4f6b41af1b4c85a1241d6760f43b8f103f5b2df7 (patch)
treedc8f2d33799f99f8e18f3c866b4cf54b6b59d8a7 /src/common/gui
parent49ec11d70278c774c77543423ea1e29093c0c78d (diff)
downloadpiklab-4f6b41af1b4c85a1241d6760f43b8f103f5b2df7.tar.gz
piklab-4f6b41af1b4c85a1241d6760f43b8f103f5b2df7.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/common/gui')
-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;
}