rotateAction = addToolBarAction(this, SLOT(rotate()),
"rotate", tr("Rotate"), true);
- // addToolBarSpace();
+ addToolBarSpace();
fullScreenAction = addToolBarAction(this, SLOT(showBig()),
"view-fullscreen", tr("Full screen"), true);
// Re-parent children
fullScreenWindow->leaveBookView();
takeBookView(view, prog, prev, next);
- fullScreenWindow->hide();
-#ifdef Q_OS_SYMBIAN
- view->setFixedSize(Platform::availableSize().width(),
- Platform::availableSize().height() - Platform::softKeyHeight());
-#endif
+ fullScreenWindow->hide();
show();
}
// Re-parent children
leaveBookView();
fullScreenWindow->takeBookView(view, prog, prev, next);
- hide();
-#ifdef Q_OS_SYMBIAN
- view->setFixedSize(Platform::size());
+#ifdef Q_WS_MAEMO_5
+ fullScreenWindow->raise();
+#else
+ hide();
#endif
fullScreenWindow->showFullScreen();
}
void MainWindow::showDevTools()
{
- (new DevTools())->exec();
+ (new DevTools(this))->exec();
}
void MainWindow::showBookmarks()