{
TRACE;
- // Monitor settings
+ // Monitor settings changes
connect(Settings::instance(), SIGNAL(valueChanged(const QString &)),
this, SLOT(onSettingsChanged(const QString &)));
if (bookView) {
bookView->setLastBookmark();
}
+ hide();
MainBase::closeEvent(event);
}
{
TRACE;
Q_ASSERT(parent);
-#ifdef Q_WS_MAEMO_5
+#if defined(Q_WS_MAEMO_5)
setAttribute(Qt::WA_Maemo5StackedWindow, true);
setAttribute(Qt::WA_Maemo5NonComposited, true);
-#endif // Q_WS_MAEMO_5
+#endif
QFrame *frame = new QFrame(this);
QVBoxLayout *layout = new QVBoxLayout(frame);
layout->setMargin(0);
#endif
scroller->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
scroller->setFrameStyle(QFrame::NoFrame);
+#if defined(Q_OS_SYMBIAN)
+ setStyleSheet("QFrame {margin:0; border:0; padding:0}");
+ setStyleSheet("QScrollArea {margin:0; border:0; padding:0}");
+#endif
content = new QWidget(scroller);
contentLayout = new QVBoxLayout(content);