X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=fullscreenwindow.cpp;fp=fullscreenwindow.cpp;h=27ac73101653fc6894378fdc80bc60f2efa938e1;hb=feae7f4f9eed323a80b0fc83cc152723cf867089;hp=1ffbd7b321c422463903738a4c75d0222aa132b7;hpb=64fef281bf83879725e35704c90be703b36e8024;p=dorian diff --git a/fullscreenwindow.cpp b/fullscreenwindow.cpp index 1ffbd7b..27ac731 100644 --- a/fullscreenwindow.cpp +++ b/fullscreenwindow.cpp @@ -35,15 +35,23 @@ FullScreenWindow::FullScreenWindow(QWidget *parent): AdopterWindow(parent) void FullScreenWindow::showEvent(QShowEvent *e) { Trace t("FullScreenWindow::showEvent"); - AdopterWindow::showEvent(e); + qDebug() << "Softkeys visible?" + << (windowFlags() & Qt::WindowSoftkeysVisibleHint); placeChildren(); + AdopterWindow::showEvent(e); } void FullScreenWindow::resizeEvent(QResizeEvent *e) { Trace t("FullScreenWindow::resizeEvent"); - AdopterWindow::resizeEvent(e); placeChildren(); + AdopterWindow::resizeEvent(e); +} + +void FullScreenWindow::closeEvent(QCloseEvent *e) +{ + Trace t("FullscreenWindow::closeEvent"); + AdopterWindow::closeEvent(e); } void FullScreenWindow::placeChildren()