forked from qt-creator/qt-creator
Checkout wizard: Hangs on Windows when VCS binary is missing.
due to StartFailed being emitted from start(). Set state correctly, improve error reporting. Reviewed-by: con <qtc-commiter@nokia.com>
This commit is contained in:
@@ -63,10 +63,11 @@ void CheckoutProgressWizardPage::start(const QSharedPointer<AbstractCheckoutJob>
|
||||
connect(job.data(), SIGNAL(succeeded()), this, SLOT(slotSucceeded()));
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
ui->logPlainTextEdit->clear();
|
||||
setSubTitle(tr("Checkout started..."));
|
||||
job->start();
|
||||
setSubTitle(tr("Checkout started..."));
|
||||
m_state = Running;
|
||||
|
||||
// Note: Process jobs can emit failed() right from
|
||||
// the start() method on Windows.
|
||||
job->start();
|
||||
}
|
||||
|
||||
void CheckoutProgressWizardPage::slotFailed(const QString &why)
|
||||
|
||||
Reference in New Issue
Block a user