summaryrefslogtreecommitdiffstats
path: root/src/s60main
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2010-08-04 12:48:20 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2010-09-02 12:37:16 (GMT)
commitce01dab25d4713c0a48f8604ed82ef43efc4f04d (patch)
tree56097af88fc9d4f2763bf38e153cb453934be5fd /src/s60main
parent99fde91e08cd20410c8161e79295a029abbff53f (diff)
downloadQt-ce01dab25d4713c0a48f8604ed82ef43efc4f04d.zip
Qt-ce01dab25d4713c0a48f8604ed82ef43efc4f04d.tar.gz
Qt-ce01dab25d4713c0a48f8604ed82ef43efc4f04d.tar.bz2
Use hasHeightForWidth() and hasWidthForHeight() instead of sizePolicy()
hasHeightForWidth() already does the same check (if the widget has a layout, use the layouts size policy instead of the widgets'). Also generalized the implementation so that it now supports width-for-height. Also fixed a bug where we expected the other dimension to decrease when the first dimension increased. This is not always the case.
Diffstat (limited to 'src/s60main')
0 files changed, 0 insertions, 0 deletions