Skip to content
GitLab
Menu
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
6b665ac9
Commit
6b665ac9
authored
Sep 23, 2010
by
hjk
Browse files
debugger: make only toplevel watchers editable
parent
1c4e0d6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/watchhandler.cpp
View file @
6b665ac9
...
...
@@ -922,10 +922,10 @@ Qt::ItemFlags WatchModel::flags(const QModelIndex &idx) const
const
WatchData
&
data
=
*
watchItem
(
idx
);
if
(
idx
.
column
()
==
0
)
return
editable
;
// Watcher names are editable.
if
(
data
.
isWatcher
())
{
if
(
idx
.
column
()
==
0
&&
data
.
iname
.
count
(
'.'
)
==
1
)
return
editable
;
// Watcher names are editable.
if
(
!
data
.
name
.
isEmpty
())
{
// FIXME: Forcing types is not implemented yet.
//if (idx.column() == 2)
...
...
@@ -1054,7 +1054,7 @@ void WatchModel::insertBulkData(const QList<WatchData> &list)
return;
#endif
// This method does not properly insert items in proper "iname sort
// order", leading to random removal of items in removeOut
D
ated();
// order", leading to random removal of items in removeOut
d
ated();
//qDebug() << "WMI:" << list.toString();
//static int bulk = 0;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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