diff options
| author | Andreas Buhr <andreas.buhr@qt.io> | 2021-07-07 18:01:36 +0200 |
|---|---|---|
| committer | Andreas Buhr <andreas.buhr@qt.io> | 2021-07-12 22:51:12 +0200 |
| commit | c0b7d834b066d93bb3314f4bcaec0ab42a661055 (patch) | |
| tree | 3effe2ef142519b87e173af68207a0c15039e22f /src/gui/doc/snippets/textdocument-selections/mainwindow.cpp | |
| parent | ff6156204d2cc33771540ef71500605817dc4911 (diff) | |
Use RAII object to skip pending sorts in QTreeWidget
Cleanup: This patch does not change functionality.
In several places, sorting inside of the QTreeModel is disabled
and afterwards restored. There is a RAII class for this, which is
used in some places, but not in others. This patch introduces
more consistent usage of this RAII object.
Change-Id: I9802998ad31d0f9d4417824f72ff0abbb0c38a17
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-selections/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
