forked from qt-creator/qt-creator
Debugger: Fix compile with Qt6.2
Amends 43f99cb53b
.
Change-Id: Ia28b129f761e8cfe6dd3a908ccfcf50d043d1639
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
committed by
Marcus Tillmanns
parent
6e1d7fc961
commit
4436e96f91
@@ -815,7 +815,7 @@ void DapEngine::refreshLocals(const QJsonArray &variables)
|
||||
if (currentItem && currentItem->iname.startsWith("watch"))
|
||||
currentItem->removeChildren();
|
||||
|
||||
for (const QJsonValueConstRef &variable : variables) {
|
||||
for (const auto &variable : variables) {
|
||||
WatchItem *item = new WatchItem;
|
||||
const QString name = variable.toObject().value("name").toString();
|
||||
|
||||
|
Reference in New Issue
Block a user