diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp index 8f2ca726f49..a2cfdf3cb1a 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp +++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp @@ -333,16 +333,16 @@ const MaemoToolChain *MaemoDeployableListModel::maemoToolchain() const { const ProjectExplorer::Project *const activeProject = ProjectExplorer::ProjectExplorerPlugin::instance()->session()->startupProject(); - QTC_ASSERT(activeProject, return false); + QTC_ASSERT(activeProject, return 0); const Qt4Target *const activeTarget = qobject_cast(activeProject->activeTarget()); - QTC_ASSERT(activeTarget, return false); + QTC_ASSERT(activeTarget, return 0); const Qt4BuildConfiguration *const bc = activeTarget->activeBuildConfiguration(); - QTC_ASSERT(bc, return false); + QTC_ASSERT(bc, return 0); const MaemoToolChain *const tc = dynamic_cast(bc->toolChain()); - QTC_ASSERT(tc, return false); + QTC_ASSERT(tc, return 0); return tc; }