summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbcheckbox.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbcheckbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbcheckbox.cpp b/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
index c1a8f5d4..5d123d4d 100644
--- a/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
+++ b/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
@@ -78,7 +78,7 @@ KexiDBCheckBox::value()
{
if (state()==NoChange)
return TQVariant();
- return TQVariant(state()==On, 1);
+ return TQVariant(state()==On);
}
void KexiDBCheckBox::slotStateChanged(int )