|
|
@ -150,7 +150,7 @@ void SQ_GLView::closeEvent(TQCloseEvent *e)
|
|
|
|
|
|
|
|
|
|
|
|
bool SQ_GLView::eventFilter(TQObject *watched, TQEvent *e)
|
|
|
|
bool SQ_GLView::eventFilter(TQObject *watched, TQEvent *e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(this))
|
|
|
|
if(watched == this)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// stop animation, if SQ_GLView is hidden (animation becomes useless)
|
|
|
|
// stop animation, if SQ_GLView is hidden (animation becomes useless)
|
|
|
|
if(/*e->type() == TQEvent::WindowDeactivate || */e->type() == TQEvent::Hide)
|
|
|
|
if(/*e->type() == TQEvent::WindowDeactivate || */e->type() == TQEvent::Hide)
|
|
|
|