diff options
Diffstat (limited to 'src/plugins/docker/dockerdevice.cpp')
-rw-r--r-- | src/plugins/docker/dockerdevice.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/docker/dockerdevice.cpp b/src/plugins/docker/dockerdevice.cpp index d30dbcc107c..b8c3fe47d89 100644 --- a/src/plugins/docker/dockerdevice.cpp +++ b/src/plugins/docker/dockerdevice.cpp @@ -261,6 +261,11 @@ QString DockerDeviceSettings::repoAndTagEncoded() const return repoAndTag().replace(':', '.'); } +FilePath DockerDeviceSettings::rootPath() const +{ + return FilePath::fromParts(Constants::DOCKER_DEVICE_SCHEME, repoAndTagEncoded(), u"/"); +} + class DockerDevicePrivate : public QObject { public: @@ -959,7 +964,7 @@ FilePath DockerDevice::filePath(const QString &pathOnDevice) const FilePath DockerDevice::rootPath() const { - return FilePath::fromParts(Constants::DOCKER_DEVICE_SCHEME, d->repoAndTagEncoded(), u"/"); + return d->deviceSettings->rootPath(); } bool DockerDevice::handlesFile(const FilePath &filePath) const |