diff options
| author | Soheil Armin <soheil.armin@qt.io> | 2025-01-20 12:09:27 +0200 |
|---|---|---|
| committer | Soheil Armin <soheil.armin@qt.io> | 2025-01-21 17:23:39 +0200 |
| commit | 967d9b8cf200163b25a3c1a3b3d79a107f9073b2 (patch) | |
| tree | 8d3926d823cd190174d9d5f873db0b8aa1007e3c /src/gui/platform/unix/qgenericunixservices.cpp | |
| parent | b751a12f7af533049ff46c6a63bd12eb6082415a (diff) | |
Android: Make use of ItemDataRole in QtAIM tests
Previously we were using raw zero-based integer values
for roles in QtAbstractItemModel tests.
Roles starting from 0x0 to 0xFF are reserved for pre-defined roles
defined in Qt::ItemDataRole enum.
This change will change the base role value to Qt::UserRole.
It will later help us to use QAbstractItemModelTester as this
tester class expects certain types from pre-defined role values.
Task-number: QTBUG-132880
Change-Id: Ie19739cd7bf49829fe58f5ad53078942d47a433b
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions
