From: Akos Polster Date: Fri, 28 Jan 2011 21:40:16 +0000 (+0100) Subject: Small Maemo fixes. Still has problems with restoring previous reading X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=3ede52dcbd58dbbecc0560df8f9892f08560b70a;hp=64d9b66f8f115b249a18b08d41eeb034cb5763d9;p=dorian Small Maemo fixes. Still has problems with restoring previous reading position. --- diff --git a/main.cpp b/main.cpp index 69bf13c..0628f04 100644 --- 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); diff --git a/mainwindow.cpp b/mainwindow.cpp index 4ab3b90..2aa7abe 100755 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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);