forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user