summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexiqueryparameters.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-05-28 23:09:09 +0900
committerMichele Calgaro <[email protected]>2019-05-28 23:09:09 +0900
commit04a12485219f38e113932e8aa20b6bc12d8fa715 (patch)
tree68ee6acef9dfadc11fe8bd4d94f52d020cd8b7a1 /kexi/widget/kexiqueryparameters.cpp
parent03eee956313fe6172f719669a1bd3d5739e023ba (diff)
downloadkoffice-04a12485219f38e113932e8aa20b6bc12d8fa715.tar.gz
koffice-04a12485219f38e113932e8aa20b6bc12d8fa715.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kexi/widget/kexiqueryparameters.cpp')
-rw-r--r--kexi/widget/kexiqueryparameters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/widget/kexiqueryparameters.cpp b/kexi/widget/kexiqueryparameters.cpp
index 171df484..a3ecdb81 100644
--- a/kexi/widget/kexiqueryparameters.cpp
+++ b/kexi/widget/kexiqueryparameters.cpp
@@ -61,7 +61,7 @@ TQValueList<TQVariant> KexiQueryParameters::getParameters(TQWidget *parent,
caption, (*it).message, list, 0/*current*/, false /*!editable*/, &ok, parent);
if (!ok || result.isEmpty())
return TQValueList<TQVariant>(); //cancelled
- values.append( TQVariant( result==list.first(), 1 ) );
+ values.append( TQVariant( result==list.first() ) );
break;
}
case KexiDB::Field::Date: {