forked from qt-creator/qt-creator
debugger: second attempty to workaround the locals view issue
Adding items to an empty container did not result in a [+] in front of the container in the locals view.
This commit is contained in:
@@ -222,6 +222,7 @@ private:
|
||||
void dump();
|
||||
void dumpHelper(WatchItem *item);
|
||||
void emitAllChanged();
|
||||
Q_SLOT void resetExtraLayoutChanged();
|
||||
|
||||
signals:
|
||||
void enableUpdates(bool);
|
||||
@@ -232,6 +233,10 @@ private:
|
||||
WatchHandler *m_handler;
|
||||
WatchType m_type;
|
||||
WatchItem *m_root;
|
||||
QSet<QString> m_fetchTriggered;
|
||||
// Part of the workaround to update the [+] marker when items
|
||||
// are added to a container.
|
||||
bool m_inExtraLayoutChanged;
|
||||
};
|
||||
|
||||
class WatchHandler : public QObject
|
||||
|
||||
Reference in New Issue
Block a user