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:
hjk
2009-11-26 14:11:57 +01:00
parent 36db421fce
commit 73101efc3c
2 changed files with 30 additions and 16 deletions

View File

@@ -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