diff options
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/kdcoppropertyproxy.cpp | 2 | ||||
-rw-r--r-- | tdecore/tdeconfigbase.cpp | 2 | ||||
-rw-r--r-- | tdecore/tdeconfigskeleton.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/kdcoppropertyproxy.cpp b/tdecore/kdcoppropertyproxy.cpp index 24bf6768b..663644b50 100644 --- a/tdecore/kdcoppropertyproxy.cpp +++ b/tdecore/kdcoppropertyproxy.cpp @@ -230,7 +230,7 @@ bool KDCOPPropertyProxy::processPropertyRequest( const TQCString &fun, const TQB { TQ_INT8 v; stream >> v; - prop = TQVariant( static_cast<bool>( v ), 1 ); + prop = TQVariant( static_cast<bool>( v ) ); } break; DEMARSHAL( Double, double ) diff --git a/tdecore/tdeconfigbase.cpp b/tdecore/tdeconfigbase.cpp index e8d384dbe..1e8310a74 100644 --- a/tdecore/tdeconfigbase.cpp +++ b/tdecore/tdeconfigbase.cpp @@ -417,7 +417,7 @@ TQVariant TDEConfigBase::readPropertyEntry( const char *pKey, case TQVariant::ULongLong: return TQVariant( readUnsignedNum64Entry( pKey, aDefault.toULongLong() ) ); case TQVariant::Bool: - return TQVariant( readBoolEntry( pKey, aDefault.toBool() ), 0 ); + return TQVariant( readBoolEntry( pKey, aDefault.toBool() ) ); case TQVariant::Double: return TQVariant( readDoubleNumEntry( pKey, aDefault.toDouble() ) ); case TQVariant::DateTime: diff --git a/tdecore/tdeconfigskeleton.cpp b/tdecore/tdeconfigskeleton.cpp index 4a389f3fe..03dac6156 100644 --- a/tdecore/tdeconfigskeleton.cpp +++ b/tdecore/tdeconfigskeleton.cpp @@ -161,7 +161,7 @@ void TDEConfigSkeleton::ItemBool::setProperty(const TQVariant & p) TQVariant TDEConfigSkeleton::ItemBool::property() const { - return TQVariant( mReference, 42 /* dummy */ ); + return TQVariant( mReference ); } |