summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2012-09-10 19:53:01 +0100
committerQt by Nokia <qt-info@nokia.com>2012-09-11 09:35:28 +0200
commit260da7a832182698c4ca872c4634fbab02c4880c (patch)
tree517309de303852aba6eb319e41b109fdfdf33fa6 /src
parent99d911701338249298ca6ae8c412acb3fb118c7f (diff)
Fix QT_NO_SYSTEMTRAYICON build.
The ifndef was added to the header but was missing in the implementation file. Change-Id: I25111b34b9c087465306ef81c23d6667257b5e71 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qplatformsystemtrayicon_qpa.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformsystemtrayicon_qpa.cpp b/src/gui/kernel/qplatformsystemtrayicon_qpa.cpp
index e3179b40e3..f6cde6e1b4 100644
--- a/src/gui/kernel/qplatformsystemtrayicon_qpa.cpp
+++ b/src/gui/kernel/qplatformsystemtrayicon_qpa.cpp
@@ -42,6 +42,8 @@
#include "qplatformsystemtrayicon.h"
+#ifndef QT_NO_SYSTEMTRAYICON
+
QT_BEGIN_NAMESPACE
/*!
@@ -159,3 +161,5 @@ QPlatformSystemTrayIcon::~QPlatformSystemTrayIcon()
QT_END_NAMESPACE
#include "moc_qplatformsystemtrayicon.cpp"
+
+#endif // QT_NO_SYSTEMTRAYICON