Changed: Commented out 'makeCurrent' call. Class does not have a widget() method and QNLWidget is not a defined type.

This commit is contained in:
sfb 2010-12-07 09:06:59 -06:00
parent 7be0ec4e3b
commit 7f1a90e176

View file

@ -86,7 +86,7 @@ namespace NLQT
//nldebug("%d %d %d",_nlw->winId(), width(), height());
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
dynamic_cast<QNLWidget*>(widget())->makeCurrent();
//dynamic_cast<QNLWidget*>(widget())->makeCurrent();
#endif // defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
nlWindow wnd = winId();