qtmobility/examples/samplephonebook/phonebook.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/examples/samplephonebook/phonebook.cpp	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/examples/samplephonebook/phonebook.cpp	Wed Jun 23 19:08:38 2010 +0300
@@ -81,7 +81,9 @@
 
 void PhoneBook::activateEditor(QContactLocalId contactId)
 {
+#if !(defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5))
     menuBar()->setVisible(false);
+#endif
     m_editorPage->setCurrentContact(m_manager, contactId);
     m_stackedWidget->setCurrentIndex(1); // list = 0, editor = 1, find = 2.
 }
@@ -106,7 +108,9 @@
 
 void PhoneBook::activateFind()
 {
+#if !(defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5))
     menuBar()->setVisible(false);
+#endif
     m_stackedWidget->setCurrentIndex(2); // list = 0, editor = 1, find = 2.
 }