summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/mediaplayer/mediaplayer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/mediaplayer/mediaplayer.cpp b/demos/mediaplayer/mediaplayer.cpp
index 8ccab77..9504236 100644
--- a/demos/mediaplayer/mediaplayer.cpp
+++ b/demos/mediaplayer/mediaplayer.cpp
@@ -154,11 +154,13 @@ MediaPlayer::MediaPlayer(const QString &filePath) :
{
m_videoWindow.setObjectName("videoWindow");
m_videoWidget->setObjectName("videoWidget");
-
+
+#ifdef Q_OS_SYMBIAN
// setWindowTitle triggers creation of the window surface, so we set
// transparency here
setAttribute(Qt::WA_TranslucentBackground, true);
-
+#endif
+
setWindowTitle(tr("Media Player"));
setContextMenuPolicy(Qt::CustomContextMenu);
m_videoWidget->setContextMenuPolicy(Qt::CustomContextMenu);