X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mainwindow.cpp;h=2aa7abe7e68303938485c03856addf84d3d58edd;hb=3ede52dcbd58dbbecc0560df8f9892f08560b70a;hp=583928ef92219d98030d3363420d6f7ec957e015;hpb=ac72b9ea7af92a9936a8e023a1923cdf94558d54;p=dorian diff --git a/mainwindow.cpp b/mainwindow.cpp index 583928e..2aa7abe 100755 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -81,7 +81,7 @@ MainWindow::MainWindow(QWidget *parent): rotateAction = addToolBarAction(this, SLOT(rotate()), "rotate", tr("Rotate"), true); - // addToolBarSpace(); + addToolBarSpace(); fullScreenAction = addToolBarAction(this, SLOT(showBig()), "view-fullscreen", tr("Full screen"), true); @@ -182,7 +182,7 @@ void MainWindow::showRegular() { TRACE; - // Re-parent children + view->setLastBookmark(); fullScreenWindow->leaveBookView(); takeBookView(view, prog, prev, next); @@ -194,11 +194,15 @@ void MainWindow::showBig() { TRACE; - // Re-parent children + view->setLastBookmark(); leaveBookView(); fullScreenWindow->takeBookView(view, prog, prev, next); +#ifdef Q_WS_MAEMO_5 + fullScreenWindow->raise(); +#else hide(); +#endif fullScreenWindow->showFullScreen(); } @@ -230,7 +234,7 @@ void MainWindow::rotate() void MainWindow::showDevTools() { - (new DevTools())->exec(); + (new DevTools(this))->exec(); } void MainWindow::showBookmarks()