Commit e815fdac authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Qmake Project Manager: make QTC_ASSERT actually useful.

Change-Id: I0ca381dca2f7a50e3638f10c77db9b6621fb32c4
Reviewed-by: default avatarDaniel Teske <>
parent 4f4b1257
......@@ -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())));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment