Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.0
-
None
-
a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf
Description
Currently QS60Style stores all supported layouts and their pixel metrics to RAM with a lookup table.
As there are 10 layouts and 96 pixel metrics, this takes some RAM (each pixel metric value is short integer).
We could however, save half of this, since "mirrored" layouts are almost the same as regular ones - only two pixel metrics are different and we could handle
this inside QS60Style::pixelMetric function.
This would save 5*96*16bits of RAM (a. 7,7 kB) within a Qt application with QS60Style active.