CDB: Stop locals progress indicator when command failed.

Change-Id: I37d986c249f2706a474c7d517090d98e7bd19f22
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
David Schulz
2015-06-23 09:09:08 +02:00
parent e670d9f341
commit 3b7410f8dd

View File

@@ -1778,8 +1778,8 @@ void CdbEngine::handleRegistersExt(const CdbResponse &response)
void CdbEngine::handleLocals(const CdbResponse &response, bool partialUpdate) void CdbEngine::handleLocals(const CdbResponse &response, bool partialUpdate)
{ {
if (response.success) {
watchHandler()->notifyUpdateFinished(); watchHandler()->notifyUpdateFinished();
if (response.success) {
if (boolSetting(VerboseLog)) if (boolSetting(VerboseLog))
showMessage(QLatin1String("Locals: ") + QString::fromLatin1(response.extensionReply), LogDebug); showMessage(QLatin1String("Locals: ") + QString::fromLatin1(response.extensionReply), LogDebug);