bookView = view;
bookView->setParent(this);
-#ifndef Q_OS_SYMBIAN
centralWidget()->layout()->addWidget(bookView);
-#endif
// bookView->show();
progress = prog;
}
// bookView->hide();
-#ifndef Q_OS_SYMBIAN
centralWidget()->layout()->removeWidget(bookView);
-#endif
bookView = 0;
progress = 0;
nextButton = 0;
#if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
// Restore previous reading position
if (bookView) {
- QTimer::singleShot(110, bookView, SLOT(restoreLastBookmark()));
+ bookView->scheduleRestoreLastBookmark();
}
#endif // defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
}