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;