forked from qt-creator/qt-creator
Utils: Use FilePathAspect::setDefaultValue
... instead of StringAspect::setDefaultFilePath. Closer to the intended uniform access. Task-number: QTCREATORBUG-29167 Change-Id: I87df385ef98873a0955010149a9a9b09a5f29daf Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -42,7 +42,7 @@ DockerSettings::DockerSettings()
|
||||
additionalPaths.append("/usr/local/bin");
|
||||
|
||||
dockerBinaryPath.setExpectedKind(PathChooser::ExistingCommand);
|
||||
dockerBinaryPath.setDefaultFilePath(
|
||||
dockerBinaryPath.setDefaultValue(
|
||||
FilePath::fromString("docker").searchInPath(additionalPaths));
|
||||
dockerBinaryPath.setDisplayName(Tr::tr("Docker CLI"));
|
||||
dockerBinaryPath.setHistoryCompleter("Docker.Command.History");
|
||||
|
||||
Reference in New Issue
Block a user