diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-09-22 09:00:55 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-23 11:30:47 +0200 |
commit | 078d7018199eee1cb2850f077f12aa95bf328e44 (patch) | |
tree | bbd601ec072c4698ea3b1dc57f0c06f84a336645 /doc/src/snippets/code/src_opengl_qglshaderprogram.cpp | |
parent | 37f338e5edc6d7b70b5a4eaf63326f2a22d7bfbd (diff) | |
download | qtbase-078d7018199eee1cb2850f077f12aa95bf328e44.tar.gz |
Only set frame margins as dirty when we get a configure notify event.
It's dangerous to set them as dirty in anticipation of a configure
notify event, as if frameMargins() is called before the event is
received the computed values are bogus.
Change-Id: Ib6db975fba5fcb13a2511e4716cbb5ca79265c34
Reviewed-on: http://codereview.qt-project.org/5365
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions