diff options
-rw-r--r-- | kommander/widgets/konsole.cpp | 2 | ||||
-rw-r--r-- | quanta/parts/kafka/kafkacommon.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kommander/widgets/konsole.cpp b/kommander/widgets/konsole.cpp index 728d9b1f..bbfc5309 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 a445e920..4c59fc3f 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; |