Struggle...
[dorian] / adopterwindow.cpp
index 0ed8670..2cdf4dd 100644 (file)
@@ -135,11 +135,18 @@ void AdopterWindow::showEvent(QShowEvent *e)
 void AdopterWindow::resizeEvent(QResizeEvent *event)
 {
     Trace t("AdopterWindow::resizeEvent");
+#if defined(Q_OS_SYMBIAN)
+    if (bookView) {
+        bookView->setLastBookmark();
+    }
+#endif
     MainBase::resizeEvent(event);
     placeDecorations();
+#if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
     if (bookView) {
         QTimer::singleShot(110, bookView, SLOT(restoreLastBookmark()));
     }
+#endif
 }
 
 void AdopterWindow::closeEvent(QCloseEvent *event)