diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-09-10 21:04:44 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-09-14 13:08:37 +0000 |
| commit | a76ce7b191933edcba181e888fa62d1a8fa83a49 (patch) | |
| tree | 2fe81e9501de719124ce1f22ac95be41b710cd6f /src/widgets/dialogs/qinputdialog.cpp | |
| parent | c38e58dcb02cd2273ba3c03c65a6f67b37100777 (diff) | |
QItemSelectionModel: cache calls to QPersistentModelIndex functions
Try to avoid the expensive calls to QPMI functions (they are not
inlined) by caching its results. This is done through a helper class
which does a lazy initialization of the members.
Fixes: QTBUG-113137
Change-Id: I8e4d79e393fbc219f1ff8bb2207ed479521c0847
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/widgets/dialogs/qinputdialog.cpp')
0 files changed, 0 insertions, 0 deletions
