QbsProjectManager: Add missing return statement.

Change-Id: I207510dfd56b1de1fc07726f126540c4b6abe3d0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Christian Kandeler
2014-11-18 17:34:24 +01:00
committed by Tobias Hunger
parent e28fa8406c
commit 040b8855c4

View File

@@ -267,7 +267,7 @@ bool QbsRunConfiguration::isConsoleApplication() const
QString QbsRunConfiguration::workingDirectory() const QString QbsRunConfiguration::workingDirectory() const
{ {
EnvironmentAspect *aspect = extraAspect<EnvironmentAspect>(); EnvironmentAspect *aspect = extraAspect<EnvironmentAspect>();
QTC_ASSERT(aspect, baseWorkingDirectory()); QTC_ASSERT(aspect, return baseWorkingDirectory());
return QDir::cleanPath(aspect->environment().expandVariables( return QDir::cleanPath(aspect->environment().expandVariables(
macroExpander()->expand(baseWorkingDirectory()))); macroExpander()->expand(baseWorkingDirectory())));
} }