summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/tools_patternist_qapplicationargumentparser.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2010-07-15 14:08:43 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2010-10-15 11:21:05 (GMT)
commit9e378145294da33495d48b2c0742461ae6c2a3ba (patch)
treed8a2bfd61ddc916a2319bd1cfb382385688ce4e7 /doc/src/snippets/code/tools_patternist_qapplicationargumentparser.cpp
parenta9cddeb760e85fbce2c1604b7e7b9b2affaaccd9 (diff)
downloadQt-9e378145294da33495d48b2c0742461ae6c2a3ba.zip
Qt-9e378145294da33495d48b2c0742461ae6c2a3ba.tar.gz
Qt-9e378145294da33495d48b2c0742461ae6c2a3ba.tar.bz2
QWorkspace: fix hardcoded min size overwriting the real min size
The setMinimumSize call was having precedence over the minimumSizeHint, so when having a sizegrip enabled it was possible to resize a MDI window to a much smaller size than its min size (actually it would flicker between the two sizes, on each resize). Fixed by moving that min size (for the titlebar contents) to the calculations in minimumSizeHint(). Reviewed-by: mariusso
Diffstat (limited to 'doc/src/snippets/code/tools_patternist_qapplicationargumentparser.cpp')
0 files changed, 0 insertions, 0 deletions