forked from qt-creator/qt-creator
Docker: Set a default mount to the project directory
Change-Id: I35a7d7f28ffc340cd2825a4ed355f0e94bb94e8b Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <projectexplorer/devicesupport/idevice.h>
|
||||
#include <projectexplorer/devicesupport/idevicefactory.h>
|
||||
#include <coreplugin/documentmanager.h>
|
||||
|
||||
#include <utils/aspects.h>
|
||||
|
||||
@@ -44,7 +45,7 @@ public:
|
||||
QString tag;
|
||||
QString size;
|
||||
bool useLocalUidGid = true;
|
||||
QStringList mounts;
|
||||
QStringList mounts = { Core::DocumentManager::projectsDirectory().toString() };
|
||||
};
|
||||
|
||||
class DockerDevice : public ProjectExplorer::IDevice
|
||||
|
Reference in New Issue
Block a user