More stagnation.
authorAkos Polster <akos@pipacs.com>
Wed, 12 Jan 2011 00:02:10 +0000 (01:02 +0100)
committerAkos Polster <akos@pipacs.com>
Wed, 12 Jan 2011 00:02:10 +0000 (01:02 +0100)
adopterwindow.cpp
widgets/mainbase.cpp

index daafa29..0c7fd08 100644 (file)
@@ -44,7 +44,9 @@ void AdopterWindow::takeBookView(BookView *view,
 
     bookView = view;
     bookView->setParent(this);
+#ifndef Q_OS_SYMBIAN
     centralWidget()->layout()->addWidget(bookView);
+#endif
     // bookView->show();
 
     progress = prog;
@@ -70,7 +72,9 @@ void AdopterWindow::leaveBookView()
     }
 
     // bookView->hide();
+#ifndef Q_OS_SYMBIAN
     centralWidget()->layout()->removeWidget(bookView);
+#endif
     bookView = 0;
     progress = 0;
     nextButton = 0;
index e560b5d..1bb632f 100755 (executable)
@@ -37,7 +37,8 @@ void MainBase::addToolBar()
 #if defined(Q_OS_SYMBIAN)\r
     toolBar = new QToolBar("", this);\r
     toolBar->setFixedHeight(Platform::softKeyHeight());\r
-    QMainWindow::addToolBar(Qt::NoToolBarArea, toolBar);\r
+    toolBar->show();\r
+    // QMainWindow::addToolBar(Qt::NoToolBarArea, toolBar);\r
 #else\r
     toolBar = QMainWindow::addToolBar("");\r
 #endif\r