forked from qt-creator/qt-creator
Utils: Further split StringAspect and FilePathAspect
... by introducing "proper" FilePathAspect::value() (and therefore hiding the inherited StringAspect::value(() and a temporary stringValue() for the transition period for the remaining users of the QString value. Change-Id: I40cf4238a09a9009cda0decba1acac82bd730233 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -170,7 +170,7 @@ FilePath GitSettings::gitExecutable(bool *ok, QString *errorMessage) const
|
||||
*ok = false;
|
||||
if (errorMessage)
|
||||
*errorMessage = Tr::tr("The binary \"%1\" could not be located in the path \"%2\"")
|
||||
.arg(binaryPath.value(), path().toUserOutput());
|
||||
.arg(binaryPath().toUserOutput(), path().toUserOutput());
|
||||
}
|
||||
return resolvedBinPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user