Debugger: Rework editor tooltips handling

Fix expansion and updating.

Persistence and non-locals are still lacking.

Change-Id: I74e25199d50350516afc686a05836e239bfc8acb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-07-10 18:10:56 +02:00
parent a97aa6be67
commit f0b2d6535e
14 changed files with 465 additions and 692 deletions

View File

@@ -500,7 +500,11 @@ WatchItem *WatchModel::findItem(const QByteArray &iname) const
void WatchModel::checkIndex(const QModelIndex &index) const
{
QTC_CHECK(index.isValid() ? index.model() == this : index.model() == 0);
if (index.isValid()) {
QTC_CHECK(index.model() == this);
} else {
QTC_CHECK(index.model() == 0);
}
}
WatchItem *WatchModel::createItem(const WatchData &data)