summaryrefslogtreecommitdiffstats
path: root/examples/mainwindows/menus/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mainwindows/menus/mainwindow.cpp')
-rw-r--r--examples/mainwindows/menus/mainwindow.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/mainwindows/menus/mainwindow.cpp b/examples/mainwindows/menus/mainwindow.cpp
index eae4e6e9ec..2a1c3da71d 100644
--- a/examples/mainwindows/menus/mainwindow.cpp
+++ b/examples/mainwindows/menus/mainwindow.cpp
@@ -53,12 +53,8 @@ MainWindow::MainWindow()
QWidget *topFiller = new QWidget;
topFiller->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
-#ifdef Q_OS_SYMBIAN
- infoLabel = new QLabel(tr("<i>Choose a menu option</i>"));
-#else
infoLabel = new QLabel(tr("<i>Choose a menu option, or right-click to "
"invoke a context menu</i>"));
-#endif
infoLabel->setFrameStyle(QFrame::StyledPanel | QFrame::Sunken);
infoLabel->setAlignment(Qt::AlignCenter);
@@ -77,10 +73,8 @@ MainWindow::MainWindow()
createActions();
createMenus();
-#ifndef Q_OS_SYMBIAN
QString message = tr("A context menu is available by right-clicking");
statusBar()->showMessage(message);
-#endif
setWindowTitle(tr("Menus"));
setMinimumSize(160, 160);