forked from qt-creator/qt-creator
Qbs: Avoid double call to a virtual function
Change-Id: If0bae8b2c8cce6542cbd6fd8df867fc200feb37d Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
4f95c5d607
commit
e724380951
@@ -255,7 +255,7 @@ QString QbsRunConfiguration::baseWorkingDirectory() const
|
|||||||
{
|
{
|
||||||
const QString exe = executable();
|
const QString exe = executable();
|
||||||
if (!exe.isEmpty())
|
if (!exe.isEmpty())
|
||||||
return QFileInfo(executable()).absolutePath();
|
return QFileInfo(exe).absolutePath();
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user