forked from qt-creator/qt-creator
Fix compile
Change-Id: Ic39f9c8be45751978fcaa791a82dd64cc4f4efe5 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -1363,7 +1363,7 @@ void VcsBaseEditorWidget::setCommand(VcsCommand *command)
|
|||||||
if (d->m_command) {
|
if (d->m_command) {
|
||||||
d->m_progressIndicator = new Utils::ProgressIndicator(Utils::ProgressIndicator::Large);
|
d->m_progressIndicator = new Utils::ProgressIndicator(Utils::ProgressIndicator::Large);
|
||||||
d->m_progressIndicator->attachToWidget(this);
|
d->m_progressIndicator->attachToWidget(this);
|
||||||
connect(d->m_command, &VcsCommand::finished,
|
connect(d->m_command.data(), &VcsCommand::finished,
|
||||||
this, &VcsBaseEditorWidget::hideProgressIndicator);
|
this, &VcsBaseEditorWidget::hideProgressIndicator);
|
||||||
QTimer::singleShot(100, this, SLOT(showProgressIndicator()));
|
QTimer::singleShot(100, this, SLOT(showProgressIndicator()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user