diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-11-15 22:14:24 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-12-06 18:22:41 +0100 |
| commit | 1c06f86d255d3d92201b1092794a4c1ea403c24d (patch) | |
| tree | 7254ecac8bc7a74c1b5d206968c381ac6d8d1fa1 /src/gui/doc/snippets/textdocument-css/main.cpp | |
| parent | a3e20df03d522bd1b07ac7a85578401f36f290b9 (diff) | |
SimpleTreeModel: Polish TreeModel::setupModelData()
- Use QStringView.
- Use a list of a pair-like struct to represent the state instead
of 2 lists.
- Use qsizetype.
- Use constLast() to avoid detaching.
Pick-to: 6.6
Change-Id: Icc3586451f081f6166fece52675d5379160f51da
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-css/main.cpp')
0 files changed, 0 insertions, 0 deletions
