QSurfaceFormat: Add missing 'profile' accessors, fix detaching.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Fri, 19 Aug 2011 08:04:51 +0000 (10:04 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Fri, 19 Aug 2011 09:05:26 +0000 (11:05 +0200)
commit984982c41f15a838610858f235e8a39389cc4427
treec026cf63abca530e29696a2eaf5b2fb09ca2ed92
parent78169e6b06db136037b70c99ca46b82d4c311c3e
QSurfaceFormat: Add missing 'profile' accessors, fix detaching.

No longer initialize FormatOptions to SwapBehaviour::DoubleBuffer
in the constructor as it is a different enumeration.

Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Change-Id: Id69e0345d4395ee88532ac3ee0e89c35e6c5b083
Reviewed-on: http://codereview.qt.nokia.com/3254
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/kernel/qsurfaceformat.cpp
src/plugins/platforms/windows/qwindowsglcontext.cpp