Add an extra widget so that the QGLWidget can be reparented successfully.
Merge pull request #3 from hsorby/master

Add an extra widget so that the QGLWidget can be reparented successfully...