forked from qt-creator/qt-creator
Qnx: Fix progress count when deploying libraries
Account for symlinks Fixes: QTCREATORBUG-27274 Change-Id: Ie7a8235c06299d28acb98bf077f8012bdb5fb8ea Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -169,7 +169,7 @@ void QnxDeployQtLibrariesDialog::updateProgress(const QString &progressMessage)
|
||||
{
|
||||
QTC_CHECK(m_state == Uploading);
|
||||
|
||||
const int progress = progressMessage.count("sftp> put");
|
||||
const int progress = progressMessage.count("sftp> put") + progressMessage.count("sftp> ln -s");
|
||||
if (progress != 0) {
|
||||
m_progressCount += progress;
|
||||
m_ui->deployProgress->setValue(m_progressCount);
|
||||
|
Reference in New Issue
Block a user