{
TRACE;
- // Monitor settings
+ // Monitor settings changes
connect(Settings::instance(), SIGNAL(valueChanged(const QString &)),
this, SLOT(onSettingsChanged(const QString &)));
#if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
// Restore previous reading position
if (bookView) {
- QTimer::singleShot(230, bookView, SLOT(restoreLastBookmark()));
+ bookView->scheduleRestoreLastBookmark();
}
#endif // defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
}
if (bookView) {
bookView->setLastBookmark();
}
+ hide();
MainBase::closeEvent(event);
}
void AdopterWindow::keyPressEvent(QKeyEvent *event)
{
- TRACE;
+ Trace t("AdopterWindow::keyPressEvent");
+
switch (event->key()) {
case Qt::Key_PageDown:
#ifdef Q_WS_MAEMO_5