Qt: Fix Windows build

This commit is contained in:
Jeffrey Pfau 2015-06-06 23:44:01 -07:00
parent 36daee6de3
commit 9c0ae33ddd
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ void PainterGL::filter(bool filter) {
void PainterGL::start() {
m_gl->makeCurrent();
m_backend.d.init(&m_backend.d, (void*) m_gl->winId());
m_backend.d.init(&m_backend.d, reinterpret_cast<WHandle>(m_gl->winId()));
m_gl->doneCurrent();
m_drawTimer = new QTimer;