diff options
author | hjk <[email protected]> | 2009-04-06 17:27:15 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2009-04-07 10:41:01 +0200 |
commit | 9318459b476a8197758825a291cb92ce42e69987 (patch) | |
tree | 463a943197a3026dbe0daf59decb1463aecf691c /src/plugins/debugger/stackhandler.h | |
parent | 4567752529170610c352e79bd6eedf8c253bbd32 (diff) |
debugger: allow short stack to be expanded by a context menu item or
double click on the "<...>" line
Diffstat (limited to 'src/plugins/debugger/stackhandler.h')
-rw-r--r-- | src/plugins/debugger/stackhandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/stackhandler.h b/src/plugins/debugger/stackhandler.h index ae073e3d136..c928a6fed92 100644 --- a/src/plugins/debugger/stackhandler.h +++ b/src/plugins/debugger/stackhandler.h @@ -64,7 +64,7 @@ class StackHandler : public QAbstractTableModel public: StackHandler(QObject *parent = 0); - void setFrames(const QList<StackFrame> &frames); + void setFrames(const QList<StackFrame> &frames, bool canExpand = false); QList<StackFrame> frames() const; void setCurrentIndex(int index); int currentIndex() const { return m_currentIndex; } @@ -88,6 +88,7 @@ private: int m_currentIndex; QIcon m_positionIcon; QIcon m_emptyIcon; + bool m_canExpand; }; |