Docker: Add a hint on what to do with "Paths to mount"

Change-Id: I992e73f78ff18ac5ed89ff5ce6fb6e7f98e1cb2c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-07-09 16:10:31 +02:00
parent 3f4d45532d
commit bb77053e6d

View File

@@ -352,6 +352,7 @@ public:
m_pathsLineEdit->setToolTip(tr("Paths in this semi-colon separated list will be "
"mapped one-to-one into the Docker container."));
m_pathsLineEdit->setText(data.mounts.join(';'));
m_pathsLineEdit->setPlaceholderText(tr("List project source directories here"));
connect(m_pathsLineEdit, &QLineEdit::textChanged, this, [dockerDevice](const QString &text) {
dockerDevice->setMounts(text.split(';', Qt::SkipEmptyParts));