summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTasuku Suzuki <stasuku@gmail.com>2012-11-21 13:24:20 +0900
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-21 16:36:50 +0100
commit49f17c815399697769a47f88d3f31460abf32f6d (patch)
treee5a8f637f5002b2ab80cfa667f3763432df32e75 /src
parent422351986845494d1cd5fa2bd874947c8bb99dd2 (diff)
Enable gui build with QT_NO_SYSTEMTRAYICON
Task-number: QTBUG-24816 Change-Id: I5b53392bee3990ec5c7235cc615b4a477fb62089 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qplatformsystemtrayicon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qplatformsystemtrayicon.h b/src/gui/kernel/qplatformsystemtrayicon.h
index 236a80d4f1..a93fab3063 100644
--- a/src/gui/kernel/qplatformsystemtrayicon.h
+++ b/src/gui/kernel/qplatformsystemtrayicon.h
@@ -43,10 +43,10 @@
#ifndef QPLATFORMSYSTEMTRAYICON_H
#define QPLATFORMSYSTEMTRAYICON_H
-#ifndef QT_NO_SYSTEMTRAYICON
-
#include "QtCore/qobject.h"
+#ifndef QT_NO_SYSTEMTRAYICON
+
QT_BEGIN_NAMESPACE
class QPlatformMenu;