Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
c546a2c5
Commit
c546a2c5
authored
Oct 01, 2009
by
hjk
Browse files
debugger: apply disassembler/normal view toggling immediately to stack view,
too
parent
23358d8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/stackhandler.cpp
View file @
c546a2c5
...
...
@@ -89,6 +89,8 @@ StackHandler::StackHandler(QObject *parent)
{
m_currentIndex
=
0
;
m_canExpand
=
false
;
connect
(
theDebuggerAction
(
OperateByInstruction
),
SIGNAL
(
triggered
()),
this
,
SLOT
(
resetModel
()));
}
int
StackHandler
::
rowCount
(
const
QModelIndex
&
parent
)
const
...
...
src/plugins/debugger/stackhandler.h
View file @
c546a2c5
...
...
@@ -69,11 +69,12 @@ public:
private:
// QAbstractTableModel
int
rowCount
(
const
QModelIndex
&
parent
=
QModelIndex
()
)
const
;
int
columnCount
(
const
QModelIndex
&
parent
=
QModelIndex
()
)
const
;
QVariant
data
(
const
QModelIndex
&
index
,
int
role
=
Qt
::
DisplayRole
)
const
;
int
rowCount
(
const
QModelIndex
&
parent
)
const
;
int
columnCount
(
const
QModelIndex
&
parent
)
const
;
QVariant
data
(
const
QModelIndex
&
index
,
int
role
)
const
;
QVariant
headerData
(
int
section
,
Qt
::
Orientation
orientation
,
int
role
)
const
;
Qt
::
ItemFlags
flags
(
const
QModelIndex
&
index
)
const
;
Q_SLOT
void
resetModel
()
{
reset
();
}
QList
<
StackFrame
>
m_stackFrames
;
int
m_currentIndex
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment