Check minor and major versions returned by glGet instead of QGLFormat
Check minor and major versions returned by glGet instead of QGLFormat

QGLFormat's values are wrong with Qt 4.8.6 on OS X (QTBUG-40415)

Fixes #115

vorburger/mcedit2,vorburger/mcedit2