From 9318459b476a8197758825a291cb92ce42e69987 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 6 Apr 2009 17:27:15 +0200 Subject: debugger: allow short stack to be expanded by a context menu item or double click on the "<...>" line --- src/plugins/debugger/stackhandler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/debugger/stackhandler.h') 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 &frames); + void setFrames(const QList &frames, bool canExpand = false); QList 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; }; -- cgit v1.2.3