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
Tobias Hunger
qt-creator
Commits
17f1c8a0
Commit
17f1c8a0
authored
Feb 19, 2009
by
hjk
Browse files
Fixes: debugger: watch view: collapsed items did not stay collapsed
parent
4168a5da
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/watchhandler.cpp
View file @
17f1c8a0
...
...
@@ -790,9 +790,9 @@ void WatchHandler::collapseChildren(const QModelIndex &idx)
return
;
}
QTC_ASSERT
(
checkIndex
(
idx
.
internalId
()),
return
);
#if 0
QString
iname0
=
m_displaySet
.
at
(
idx
.
internalId
()).
iname
;
MODEL_DEBUG
(
"COLLAPSE NODE"
<<
iname0
);
#if 0
QString iname1 = iname0 + '.';
for (int i = m_completeSet.size(); --i >= 0; ) {
QString iname = m_completeSet.at(i).iname;
...
...
@@ -803,10 +803,10 @@ void WatchHandler::collapseChildren(const QModelIndex &idx)
m_expandedINames.remove(iname);
}
}
#endif
m_expandedINames
.
remove
(
iname0
);
//MODEL_DEBUG(toString());
//rebuildModel();
#endif
}
void
WatchHandler
::
expandChildren
(
const
QModelIndex
&
idx
)
...
...
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