diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 17:17:42 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 17:17:42 +0200 |
commit | 193843b0279cfc3341c7cf4086efff78d097aba7 (patch) | |
tree | 5aea9e0e60de59fa267da9f3b5c14508b1d0af21 | |
parent | 5ea252ec15ebe89391686d098a8f8e31e51e3be3 (diff) | |
download | tdevelop-193843b0279cfc3341c7cf4086efff78d097aba7.tar.gz tdevelop-193843b0279cfc3341c7cf4086efff78d097aba7.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | buildtools/qmake/trollprojectwidget.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/debugger/mi/miparser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/qmake/trollprojectwidget.cpp b/buildtools/qmake/trollprojectwidget.cpp index dd5c5d03..7a70fb1a 100644 --- a/buildtools/qmake/trollprojectwidget.cpp +++ b/buildtools/qmake/trollprojectwidget.cpp @@ -1172,7 +1172,7 @@ void TrollProjectWidget::addFiles( TQStringList &files, bool relativeToProjectRo if ( m_shownSubproject->scope->variableValues( "TEMPLATE" ).findIndex( "subdirs" ) != -1 && !fileName.endsWith(".pro") ) { - ChooseSubprojectDlg dlg( this, false ); + ChooseSubprojectDlg dlg( this, 0 ); if ( dlg.exec() == TQDialog::Accepted ) { if ( dlg.selectedSubproject() && dlg.selectedSubproject()->scope->variableValues("TEMPLATE").findIndex( "subdirs" ) != -1 ) diff --git a/languages/cpp/debugger/mi/miparser.cpp b/languages/cpp/debugger/mi/miparser.cpp index fdd16137..e078c04c 100644 --- a/languages/cpp/debugger/mi/miparser.cpp +++ b/languages/cpp/debugger/mi/miparser.cpp @@ -54,7 +54,7 @@ Record *MIParser::parse(FileSymbol *file) TokenStream *tokenStream = lexer.tokenize(file); if (!tokenStream) - return false; + return 0; lex = file->tokenStream = tokenStream; |