Remove checking for a null sessionmanager.

That can't happen.

Change-Id: I05293e96e7a716fbaf5fd03aa182c723c9858a03
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Daniel Teske
2012-01-31 13:31:27 +01:00
parent 2a02841383
commit b8ae31e664
6 changed files with 3 additions and 16 deletions

View File

@@ -679,7 +679,6 @@ QList<ProjectExplorer::Project *> Parser::getProjectList() const
// check all projects
ProjectExplorer::SessionManager *sessionManager
= ProjectExplorer::ProjectExplorerPlugin::instance()->session();
QTC_ASSERT(sessionManager, return list);
list = sessionManager->projects();