X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Ffullscreenexitbutton.h;h=dd80b5ad207136a7b9140442a9cb495903e22f5a;hb=1ff34533992689305eee0f27a96b2d6ecc324ba8;hp=56dde25df8e8802a1394f16dca8aeb7782c5389b;hpb=420353ac7cbee4761341b96642647cdbb21bd380;p=presencevnc diff --git a/src/fullscreenexitbutton.h b/src/fullscreenexitbutton.h index 56dde25..dd80b5a 100644 --- a/src/fullscreenexitbutton.h +++ b/src/fullscreenexitbutton.h @@ -110,12 +110,10 @@ bool FullScreenExitButton::eventFilter(QObject *obj, QEvent *ev) setVisible(isFullScreen); if (isFullScreen) raise(); - hide_timer.start(); - break; // fall through case QEvent::Resize: + move(parent->width() - width(), parent->height() - height()); if (isVisible()) { - move(parent->width() - width(), parent->height() - height()); hide_timer.start(); } break;