summaryrefslogtreecommitdiffstats
path: root/src/kernel/qvariant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qvariant.cpp')
-rw-r--r--src/kernel/qvariant.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/kernel/qvariant.cpp b/src/kernel/qvariant.cpp
index 6d734d6b6..f7479fb68 100644
--- a/src/kernel/qvariant.cpp
+++ b/src/kernel/qvariant.cpp
@@ -877,12 +877,10 @@ TQVariant::TQVariant( TQ_ULLONG val )
}
/*!
- Constructs a new variant with a boolean value, \a val. The integer
- argument is a dummy, necessary for compatibility with some
- compilers.
+ Constructs a new variant with a boolean value, \a val.
*/
-TQVariant::TQVariant( bool val, int )
-{ // this is the comment that does NOT name said compiler.
+TQVariant::TQVariant( bool val )
+{
d = new Private;
d->typ = Bool;
d->value.b = val;