diff options
author | Sami Merila <sami.merila@nokia.com> | 2009-12-15 11:09:09 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2009-12-15 11:09:09 (GMT) |
commit | a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf (patch) | |
tree | 9cc4bdf56e4c438384d54cb73a9dedf1af3b375c /src/gui/styles/qstylefactory.cpp | |
parent | 2c6749c38a2538639de86355856414b0d21317cf (diff) | |
download | Qt-a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf.zip Qt-a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf.tar.gz Qt-a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf.tar.bz2 |
QS60Style: Remove layouts with mirrored information
Currently QS60Style stores pixel metrics values (96 of them for each
layout) in a static lookup table. There is one "line" for each
screensize, orientation and layout direction (ten in total).
This fix removes the layout direction specific "lines" as there are
only two pixel metrics values that differ depending on direction.
We can handle those two inside QS60Style::pixelMetrics() and
thus remove half of the rows, and thus gain 16*96*5 ~ 8kB of RAM.
Task-number: QTBUG-6803
Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles/qstylefactory.cpp')
0 files changed, 0 insertions, 0 deletions