X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fglwidget.cpp;h=ead7268ccd45f9615daedb2324270b72c68a5e7c;hb=94d59c2c8c14b9ac51dffd117ec507418b4d0881;hp=2f959186914834bd0bf5cbb54ac03cfb97943263;hpb=7228359373eb7602c26f7b098d6b2271ff5727a1;p=virtualjaguar diff --git a/src/gui/glwidget.cpp b/src/gui/glwidget.cpp index 2f95918..ead7268 100644 --- a/src/gui/glwidget.cpp +++ b/src/gui/glwidget.cpp @@ -144,20 +144,18 @@ void GLWidget::CreateTextures(void) } -//void GLWidget::HideMouseIfTimedOut(void) void GLWidget::HandleMouseHiding(void) { // Mouse watchdog timer handling. Basically, if the timeout value is - // greater than zero, decrement it. Otherwise, check for zero, if so, - // then hide the mouse and set the hideMouseTimeout value to -1 to - // signal that the mouse has been hidden. + // greater than zero, decrement it. Otherwise, check for zero, if so, then + // hide the mouse and set the hideMouseTimeout value to -1 to signal that + // the mouse has been hidden. if (hideMouseTimeout > 0) hideMouseTimeout--; else if (hideMouseTimeout == 0) { hideMouseTimeout--; qApp->setOverrideCursor(Qt::BlankCursor); -//printf("timer: hideMouseTimeout = %i, mouse hidden\n", hideMouseTimeout); } }