connect(next, SIGNAL(triggered()), this, SLOT(goToNextPage()));
connect(prev, SIGNAL(triggered()), this, SLOT(goToPreviousPage()));
- // Adopt view, show window
- showRegular();
-
#ifdef DORIAN_TEST_MODEL
(void)new ModelTest(Library::instance(), this);
#endif
library->setNowReading(sorted.mapToSource(sorted.index(0, 0)));
}
}
+
+ // Show in regular (non full-screen) mode
+ showRegular();
}
void MainWindow::onCurrentBookChanged()
fullScreenWindow->hide();
show();
+
#if defined(Q_OS_SYMBIAN)
activateWindow();
#endif
leaveBookView();
fullScreenWindow->takeBookView(view, prog, prev, next);
-// #ifdef Q_OS_SYMBIAN
+ fullScreenWindow->showFullScreen();
hide();
-// #endif
- fullScreenWindow->showFullScreen();
#ifdef Q_OS_SYMBIAN
fullScreenWindow->activateWindow();
#endif