Maintain reading position on Symbian between orientations.
[dorian] / adopterwindow.cpp
index 0ed8670..735d37c 100644 (file)
@@ -137,9 +137,15 @@ void AdopterWindow::resizeEvent(QResizeEvent *event)
     Trace t("AdopterWindow::resizeEvent");
     MainBase::resizeEvent(event);
     placeDecorations();
+#if defined(Q_WS_MAEMO_5)
     if (bookView) {
         QTimer::singleShot(110, bookView, SLOT(restoreLastBookmark()));
     }
+#elif defined(Q_OS_SYMBIAN)
+    if (bookView) {
+        QTimer::singleShot(1000, bookView, SLOT(adjustPosition()));
+    }
+#endif
 }
 
 void AdopterWindow::closeEvent(QCloseEvent *event)