forked from qt-creator/qt-creator
docker: Show error when docker application cannot be found/started
Change-Id: I752ec9fe7bf0db5d26828a175363ef08c5c9bf02 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1624,11 +1624,8 @@ public:
|
||||
m_log->append(DockerDevice::tr("Error: %1").arg(out));
|
||||
});
|
||||
|
||||
connect(m_process, &Utils::QtcProcess::finished,
|
||||
this, [this, errorLabel]() {
|
||||
if (m_process->exitCode() != 0) {
|
||||
errorLabel->setVisible(true);
|
||||
}
|
||||
connect(m_process, &QtcProcess::done, errorLabel, [errorLabel, this] {
|
||||
errorLabel->setVisible(m_process->result() != ProcessResult::FinishedWithSuccess);
|
||||
});
|
||||
|
||||
connect(m_view->selectionModel(), &QItemSelectionModel::selectionChanged, [this] {
|
||||
|
Reference in New Issue
Block a user