Small Maemo fixes. Still has problems with restoring previous reading
authorAkos Polster <akos@pipacs.com>
Fri, 28 Jan 2011 21:40:16 +0000 (22:40 +0100)
committerAkos Polster <akos@pipacs.com>
Fri, 28 Jan 2011 21:40:16 +0000 (22:40 +0100)
position.

main.cpp
mainwindow.cpp

index 69bf13c..0628f04 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
     splash.finish(mainWindow);
 #endif
 
-    // Run event loop, Re-start application if event loop exit code was 1000
+    // Run event loop, re-start application if event loop exit code was 1000
     ret = app.exec();
     if (ret == 1000) {
         Platform::instance()->restart(argv);
index 4ab3b90..2aa7abe 100755 (executable)
@@ -182,7 +182,7 @@ void MainWindow::showRegular()
 {
     TRACE;
 
-    // Re-parent children
+    view->setLastBookmark();
     fullScreenWindow->leaveBookView();
     takeBookView(view, prog, prev, next);
 
@@ -194,7 +194,7 @@ void MainWindow::showBig()
 {
     TRACE;
 
-    // Re-parent children
+    view->setLastBookmark();
     leaveBookView();
     fullScreenWindow->takeBookView(view, prog, prev, next);