diff options
author | Marcus Tillmanns <[email protected]> | 2023-10-06 08:51:17 +0200 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2023-10-06 08:26:15 +0000 |
commit | 1fabd72514a6fdf529cbbc1a19c13ad537edd8dd (patch) | |
tree | 836685d510c3d50fcde3bb6015c180e0107cbda9 /src/plugins/docker/dockerdevice.h | |
parent | 113efbfc85aed462902ea115ed9ace385b0b1f07 (diff) |
DeviceSupport: Add more error output
Previously most errors when opening shells were completely
opaque to the user. This patch adds error output either via
QMessageBox if there is another modal dialog, or as flashing
disrupting messages.
Change-Id: I54be7a90295b61c23c739294c2d1d37c288ad273
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/docker/dockerdevice.h')
-rw-r--r-- | src/plugins/docker/dockerdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/docker/dockerdevice.h b/src/plugins/docker/dockerdevice.h index 477de04168a..ab88d0b9d00 100644 --- a/src/plugins/docker/dockerdevice.h +++ b/src/plugins/docker/dockerdevice.h @@ -74,9 +74,9 @@ public: bool ensureReachable(const Utils::FilePath &other) const override; Utils::expected_str<Utils::FilePath> localSource(const Utils::FilePath &other) const override; - Utils::Environment systemEnvironment() const override; + Utils::expected_str<Utils::Environment> systemEnvironmentWithError() const override; - bool updateContainerAccess() const; + Utils::expected_str<void> updateContainerAccess() const; void setMounts(const QStringList &mounts) const; bool prepareForBuild(const ProjectExplorer::Target *target) override; |