From 3ede52dcbd58dbbecc0560df8f9892f08560b70a Mon Sep 17 00:00:00 2001 From: Akos Polster Date: Fri, 28 Jan 2011 22:40:16 +0100 Subject: [PATCH] Small Maemo fixes. Still has problems with restoring previous reading position. --- main.cpp | 2 +- mainwindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); -- 1.7.9.5