debugger: make watch and register items non-draggable

This commit is contained in:
hjk
2010-06-07 10:41:15 +02:00
parent 2bc40006c1
commit 4ff2881017
2 changed files with 4 additions and 4 deletions

View File

@@ -125,8 +125,8 @@ Qt::ItemFlags RegisterHandler::flags(const QModelIndex &idx) const
static const ItemFlags notEditable = static const ItemFlags notEditable =
ItemIsSelectable ItemIsSelectable
| ItemIsDragEnabled // | ItemIsDragEnabled
| ItemIsDropEnabled // | ItemIsDropEnabled
| ItemIsEnabled; | ItemIsEnabled;
static const ItemFlags editable = notEditable | ItemIsEditable; static const ItemFlags editable = notEditable | ItemIsEditable;

View File

@@ -714,8 +714,8 @@ Qt::ItemFlags WatchModel::flags(const QModelIndex &idx) const
static const ItemFlags notEditable = static const ItemFlags notEditable =
ItemIsSelectable ItemIsSelectable
| ItemIsDragEnabled // | ItemIsDragEnabled
| ItemIsDropEnabled // | ItemIsDropEnabled
// | ItemIsUserCheckable // | ItemIsUserCheckable
// | ItemIsTristate // | ItemIsTristate
| ItemIsEnabled; | ItemIsEnabled;