Fix compile

Change-Id: Ic39f9c8be45751978fcaa791a82dd64cc4f4efe5
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Daniel Teske
2015-01-19 12:01:35 +01:00
parent a53dd9f003
commit a6ea380870

View File

@@ -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()));
} }