aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackhandler.h
diff options
context:
space:
mode:
authorhjk <[email protected]>2009-04-06 17:27:15 +0200
committerhjk <[email protected]>2009-04-07 10:41:01 +0200
commit9318459b476a8197758825a291cb92ce42e69987 (patch)
tree463a943197a3026dbe0daf59decb1463aecf691c /src/plugins/debugger/stackhandler.h
parent4567752529170610c352e79bd6eedf8c253bbd32 (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.h3
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;
};