Prevent recursion when creating window surface.
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 1 Feb 2011 16:59:54 +0000 (17:59 +0100)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 2 Feb 2011 09:48:42 +0000 (10:48 +0100)
commit5ad8cd48a1ed3be183c0af8698491b039f0054e4
tree11c2c2ea1ab07e09895a4fc79d6fca92a7736e5b
parent186a9f967394d554ce99b8a3313cbc679b54c7c7
Prevent recursion when creating window surface.

If we can't access the qt_gl_share_widget() we should just create a
raster window surface. This might happen when creating the share widget
itself leads to creation of a window surface (which isn't really going
to be used anyways).

Reviewed-by: Michael Dominic K
src/plugins/graphicssystems/meego/qmeegographicssystem.cpp