forked from qt-creator/qt-creator
Docker: Split early return in tryCreateLocalFileAccess()
For easier debugging. Change-Id: I427ec3ce10b3eae50a3fa67d5bba9951e9de4c14 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -897,7 +897,10 @@ void DockerDevicePrivate::startContainer()
|
|||||||
|
|
||||||
void DockerDevicePrivate::tryCreateLocalFileAccess()
|
void DockerDevicePrivate::tryCreateLocalFileAccess()
|
||||||
{
|
{
|
||||||
if (!m_container.isEmpty() || DockerPlugin::isDaemonRunning().value_or(true) == false)
|
if (!m_container.isEmpty())
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (DockerPlugin::isDaemonRunning().value_or(true) == false)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!m_shell)
|
if (!m_shell)
|
||||||
|
Reference in New Issue
Block a user