Cdb: Reduce insertIncompleteData usage.

Change-Id: Ia71d32c40bbe4737061d021c37844a1fd84b9657
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
David Schulz
2015-03-06 10:09:34 +01:00
committed by hjk
parent 1641d9a59e
commit 36fe342853

View File

@@ -1015,7 +1015,7 @@ void CdbEngine::handleAddWatch(const CdbCommandPtr &reply, WatchData item)
updateLocalVariable(item.iname); updateLocalVariable(item.iname);
} else { } else {
item.setError(tr("Unable to add expression")); item.setError(tr("Unable to add expression"));
watchHandler()->insertIncompleteData(item); watchHandler()->insertData(item);
showMessage(QString::fromLatin1("Unable to add watch item \"%1\"/\"%2\": %3"). showMessage(QString::fromLatin1("Unable to add watch item \"%1\"/\"%2\": %3").
arg(QString::fromLatin1(item.iname), QString::fromLatin1(item.exp), arg(QString::fromLatin1(item.iname), QString::fromLatin1(item.exp),
QString::fromLocal8Bit(reply->errorMessage)), LogError); QString::fromLocal8Bit(reply->errorMessage)), LogError);