TRACE;
Library *library = Library::instance();
+ // Show in regular (non full-screen) mode
+ showRegular();
+
// Upgrade library if needed, then load it
library->upgrade();
library->load();
library->setNowReading(sorted.mapToSource(sorted.index(0, 0)));
}
}
-
- // Show in regular (non full-screen) mode
- showRegular();
}
void MainWindow::onCurrentBookChanged()
fullScreenWindow->hide();
show();
- view->restoreLastBookmark();
+ view->scheduleRestoreLastBookmark();
}
void MainWindow::showBig()
hide();
#endif
fullScreenWindow->showFullScreen();
- view->restoreLastBookmark();
+ view->scheduleRestoreLastBookmark();
}
void MainWindow::setCurrentBook(const QModelIndex ¤t)