diff options
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/xmlpatternssdk/TreeModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternssdk/TreeModel.cpp b/tests/auto/xmlpatternssdk/TreeModel.cpp index e80e316..c3d7303 100644 --- a/tests/auto/xmlpatternssdk/TreeModel.cpp +++ b/tests/auto/xmlpatternssdk/TreeModel.cpp @@ -134,7 +134,7 @@ Qt::ItemFlags TreeModel::flags(const QModelIndex &idx) const if(!idx.isValid()) return Qt::ItemFlags(); - return Qt::ItemIsEnabled | Qt::ItemIsSelectable; + return QAbstractItemModel::flags(idx); } int TreeModel::rowCount(const QModelIndex &p) const |