summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:21:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:22:00 +0200
commitbb0891791c9d5c14f6ae0c402de62ff71ac8bec8 (patch)
treed3eb28d0dbcf5d85dd65158501935a759240a738
parent36c3be9f414dd9b7828469770128ef5201d97ac3 (diff)
downloadtdewebdev-bb0891791c9d5c14f6ae0c402de62ff71ac8bec8.tar.gz
tdewebdev-bb0891791c9d5c14f6ae0c402de62ff71ac8bec8.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 89592516252c214530a9d77bec0fe5afb21b0236)
-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 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;