Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.3
-
None
-
Windows 7 Professional x64
-
48469ecd3f2918d16ccfacb5d65f3a5e0bbfa8d8
Description
Hi,
I found this while investigating a completely different issue in our Windows application, but thought I'd raise it with you.
Looking at the destructor for QGLWidget in src/opengl/qgl.cpp, in Qt4.6.3, I noticed the code:
#if defined(Q_WGL)
delete d->olcx;
#endif
However, all the other references to the member variable olcx that I can see are predicated on the #define Q_WS_WIN.
I don't see any other reference to Q_WGL in any source or associated files in Qt4.6.3.
Should that statement be compiled into Windows builds?
Thanks!
Mark