summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qjpeghandler.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-08-28 11:07:52 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-05 00:57:22 +0100
commitbc84e7cd436e81563191ec546109391678794537 (patch)
tree4eaf7172ed18b09e5c6ee87e0a9638f27b9b591a /src/gui/image/qjpeghandler.cpp
parentd85983ece7223d733ab87b0b9a8cca3aa246a406 (diff)
QWizard: use less stack space
There will hardly ever be 512 buttons in a wizard dialog, so specify a somewhat saner preallocation number for the QVarLengthArray, e.g. the number of available buttons. Yes, there's also Stretch, but it's unlikely that _all_ buttons plus stretch are used in one dialog, and QVarLengthArray will fall back to the heap in that case, of course. Change-Id: Ida09ab73340e9fb2aa80db37aeed8b8476ffe7fe Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/gui/image/qjpeghandler.cpp')
0 files changed, 0 insertions, 0 deletions