Add landscape splash image.
[dorian] / adopterwindow.cpp
index 0c7fd08..23bbf57 100644 (file)
@@ -44,9 +44,7 @@ void AdopterWindow::takeBookView(BookView *view,
 
     bookView = view;
     bookView->setParent(this);
-#ifndef Q_OS_SYMBIAN
     centralWidget()->layout()->addWidget(bookView);
-#endif
     // bookView->show();
 
     progress = prog;
@@ -72,9 +70,7 @@ void AdopterWindow::leaveBookView()
     }
 
     // bookView->hide();
-#ifndef Q_OS_SYMBIAN
     centralWidget()->layout()->removeWidget(bookView);
-#endif
     bookView = 0;
     progress = 0;
     nextButton = 0;
@@ -150,7 +146,7 @@ void AdopterWindow::resizeEvent(QResizeEvent *event)
 #if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
     // Restore previous reading position
     if (bookView) {
-        QTimer::singleShot(110, bookView, SLOT(restoreLastBookmark()));
+        bookView->scheduleRestoreLastBookmark();
     }
 #endif // defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
 }