diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-11-26 14:06:00 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-27 14:16:53 +0100 |
commit | c0895163f9cdd507d6727ee7335e262601b769cd (patch) | |
tree | 438482f7c9353543f06b8670d55e59d43b1bd354 /tests/auto | |
parent | f665204c032795257a340573db91686dfc27e028 (diff) | |
download | qtxmlpatterns-c0895163f9cdd507d6727ee7335e262601b769cd.tar.gz qtxmlpatterns-c0895163f9cdd507d6727ee7335e262601b769cd.tar.bz2 qtxmlpatterns-c0895163f9cdd507d6727ee7335e262601b769cd.zip |
Always get the default flags from QAIM.
Change-Id: I89abe8fdbd836804624a669296ae673230149472
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
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 |