summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorCristiano di Flora <cristiano.di-flora@nokia.com>2012-01-20 12:25:56 +0200
committerQt by Nokia <qt-info@nokia.com>2012-01-20 12:38:56 +0100
commit809895709ad829f4443ea3c0c1ea37ca0842c538 (patch)
treee107905d3622094f245d3032b795fcad75db42a7 /examples
parent839a5bf2b5d4f19771218fff00171cab57e29d6a (diff)
Remove QtContacts wince backend from source tree.
Change-Id: Ic223c722da964db0c996aaf85eda136e1e470c20 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'examples')
-rw-r--r--examples/calendardemo/src/calendardemo.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/calendardemo/src/calendardemo.cpp b/examples/calendardemo/src/calendardemo.cpp
index e0df6cfaa..c69d1909d 100644
--- a/examples/calendardemo/src/calendardemo.cpp
+++ b/examples/calendardemo/src/calendardemo.cpp
@@ -139,14 +139,9 @@ CalendarDemo::~CalendarDemo()
void CalendarDemo::buildMenu()
{
// Build Options menu
-#if defined(Q_OS_WINCE)
- // These platforms need their menu items added directly to the menu bar.
- QMenuBar *optionsMenu = menuBar();
-#else
QMenu *optionsMenu = new QMenu("&Options", this);
// We add the options menu to the softkey manually later
menuBar()->addMenu(optionsMenu);
-#endif
// Add editing options in the menu for Symbian (other platforms get buttons)
QOrganizerManager defaultManager;
QList<QOrganizerItemType::ItemType> supportedItemTypes = defaultManager.supportedItemTypes();