On cancel analyzer setup the progress bar closes now.

During the start of the remote analyzer you can choose the network connection
to the remote analyzer. If you cancel this selection now the progressbar is set
to canceled, and will disapear after a certain amount of time.

Task-number: QTCREATORBUG-6014
Change-Id: I944f27adec11200d417266183e3d371606c89112
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
David Schulz
2012-01-20 14:19:44 +01:00
committed by hjk
parent efe9bca20c
commit 800dfe4c9e
8 changed files with 27 additions and 22 deletions

View File

@@ -117,8 +117,10 @@ bool ValgrindEngine::start()
connect(runner(), SIGNAL(finished()),
SLOT(runnerFinished()));
runner()->start();
if (!runner()->start()) {
m_progress->cancel();
return false;
}
return true;
}