diff options
| author | Sérgio Martins <sergio.martins@kdab.com> | 2015-06-16 19:44:52 +0100 |
|---|---|---|
| committer | Sérgio Martins <sergio.martins@kdab.com> | 2015-06-19 16:25:14 +0000 |
| commit | 8f5dceee3c0639de937474a2237e5ca82a52def5 (patch) | |
| tree | 2cd329eac59afb8870f0cfcc18e25ee65bfc060b /src/corelib/tools/qcommandlineoption.cpp | |
| parent | 24ef5d2263a11428cd9db83da1d8d9cb3534bc9f (diff) | |
qprinter: Remove superfluous iteration and memory allocation
Instead of iterating through a QList that was constructed
after iterating through all of QSet's elements just iterate
through QSet's elements.
Change-Id: Ie502017976536b14ea9170af550a2d7156443391
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineoption.cpp')
0 files changed, 0 insertions, 0 deletions
