summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kommander/widgets/konsole.cpp2
-rw-r--r--quanta/parts/kafka/kafkacommon.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kommander/widgets/konsole.cpp b/kommander/widgets/konsole.cpp
index 728d9b1..bbfc530 100644
--- a/kommander/widgets/konsole.cpp
+++ b/kommander/widgets/konsole.cpp
@@ -26,7 +26,7 @@
#include <myprocess.h>
Konsole::Konsole(TQWidget* a_parent, const char* a_name)
- : KTextEdit(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)), mSeenEOL(false), mProcess(false)
+ : KTextEdit(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)), mSeenEOL(false), mProcess(0)
{
TQStringList states;
states << "default";
diff --git a/quanta/parts/kafka/kafkacommon.cpp b/quanta/parts/kafka/kafkacommon.cpp
index a445e92..4c59fc3 100644
--- a/quanta/parts/kafka/kafkacommon.cpp
+++ b/quanta/parts/kafka/kafkacommon.cpp
@@ -959,7 +959,7 @@ Node* kafkaCommon::createMandatoryNodeSubtree(Node *node, Document *doc)
nodeTQTag = QuantaCommon::tagFromDTD(node);
if(!nodeTQTag)
- return false;
+ return 0;
searchForMandatoryNode = true;
currentParent = node;