forked from qt-creator/qt-creator
Qmake Project Manager: make QTC_ASSERT actually useful.
Change-Id: I0ca381dca2f7a50e3638f10c77db9b6621fb32c4 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -472,7 +472,7 @@ void DesktopQmakeRunConfiguration::setUsingDyldImageSuffix(bool state)
|
||||
QString DesktopQmakeRunConfiguration::workingDirectory() const
|
||||
{
|
||||
EnvironmentAspect *aspect = extraAspect<EnvironmentAspect>();
|
||||
QTC_ASSERT(aspect, baseWorkingDirectory());
|
||||
QTC_ASSERT(aspect, return baseWorkingDirectory());
|
||||
return QDir::cleanPath(aspect->environment().expandVariables(
|
||||
Utils::expandMacros(baseWorkingDirectory(), macroExpander())));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user