forked from qt-creator/qt-creator
debugger: fix "Display in Separate Window" for QString
This is fixing a regression introduced recently during the WatchModel rework. Change-Id: I128368e78d00f1ef1fc96f7319b19873099396fa Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1351,8 +1351,11 @@ bool WatchModel::ancestorChanged(const QSet<QByteArray> &inames, WatchItem *item
|
||||
void WatchModel::insertBulkData(const QList<WatchData> &list)
|
||||
{
|
||||
#if 1
|
||||
for (int i = 0, n = list.size(); i != n; ++i)
|
||||
insertDataItem(list.at(i));
|
||||
for (int i = 0, n = list.size(); i != n; ++i) {
|
||||
const WatchData &data = list.at(i);
|
||||
insertDataItem(data);
|
||||
m_handler->showEditValue(data);
|
||||
}
|
||||
#else
|
||||
// Destroy unneeded items.
|
||||
QSet<QByteArray> inames;
|
||||
|
||||
Reference in New Issue
Block a user