diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-10-30 15:31:25 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-07-04 08:23:00 +0200 |
| commit | 1bddb4ad7d33ba92ce4387bcaba55c2489dc6615 (patch) | |
| tree | 414c0c79661507dde53d336b06eed1a5dae3b38b /src/corelib/kernel/qpointer.cpp | |
| parent | c50362597a6f3a3541479b2a84937f406999b954 (diff) | |
QApplication::topLevelWidgets(): Avoid allocation of list
Use the QSet QWidgetPrivate::allWidgets directly instead of
calling QApplication::allWidgets(), which allocates a QList.
Change-Id: I16d289030cecefae7811d4b2c94f865f46f700d5
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/kernel/qpointer.cpp')
0 files changed, 0 insertions, 0 deletions
