Qbs: Avoid double call to a virtual function

Change-Id: If0bae8b2c8cce6542cbd6fd8df867fc200feb37d
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-01-05 15:50:17 +02:00
committed by Orgad Shaneh
parent 4f95c5d607
commit e724380951

View File

@@ -255,7 +255,7 @@ QString QbsRunConfiguration::baseWorkingDirectory() const
{
const QString exe = executable();
if (!exe.isEmpty())
return QFileInfo(executable()).absolutePath();
return QFileInfo(exe).absolutePath();
return QString();
}