Fix QT_NO_SYSTEMTRAYICON build.
authorSérgio Martins <sergio.martins@kdab.com>
Mon, 10 Sep 2012 18:53:01 +0000 (19:53 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Sep 2012 07:35:28 +0000 (09:35 +0200)
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>
src/gui/kernel/qplatformsystemtrayicon_qpa.cpp

index e3179b4..f6cde6e 100644 (file)
@@ -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