diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-29 15:14:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-29 15:14:42 +0900 |
commit | 4f6b41af1b4c85a1241d6760f43b8f103f5b2df7 (patch) | |
tree | dc8f2d33799f99f8e18f3c866b4cf54b6b59d8a7 /src/common/global | |
parent | 49ec11d70278c774c77543423ea1e29093c0c78d (diff) | |
download | piklab-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/global')
-rw-r--r-- | src/common/global/generic_config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/global/generic_config.cpp b/src/common/global/generic_config.cpp index 63f3f08..a4a8827 100644 --- a/src/common/global/generic_config.cpp +++ b/src/common/global/generic_config.cpp @@ -223,7 +223,7 @@ void GenericConfig::deleteGroup(const TQString &group) TQVariant GenericConfig::readVariantEntry(const TQString &key, const TQVariant &defValue) const { switch (defValue.type()) { - case TQVariant::Bool: return TQVariant(readBoolEntry(key, defValue.toBool()), 0); + case TQVariant::Bool: return TQVariant(readBoolEntry(key, defValue.toBool())); case TQVariant::UInt: return readUIntEntry(key, defValue.toUInt()); default: break; } |