debugger: remove obstructing frame around l&w item delegates

This commit is contained in:
hjk
2011-02-17 16:31:43 +01:00
parent 873e379eba
commit 0d4ef2939f
3 changed files with 20 additions and 11 deletions

View File

@@ -774,10 +774,11 @@ Qt::ItemFlags WatchModel::flags(const QModelIndex &idx) const
if (!idx.isValid())
return Qt::ItemFlags();
// enabled, editable, selectable, checkable, and can be used both as the
// Enabled, editable, selectable, checkable, and can be used both as the
// source of a drag and drop operation and as a drop target.
static const Qt::ItemFlags notEditable = Qt::ItemIsSelectable| Qt::ItemIsEnabled;
static const Qt::ItemFlags notEditable
= Qt::ItemIsSelectable | Qt::ItemIsEnabled;
static const Qt::ItemFlags editable = notEditable | Qt::ItemIsEditable;
// Disable editing if debuggee is positively running.