summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-08-22 08:31:57 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-22 22:05:55 +0200
commit38bd71e04da87fc1c92dd94e2eddb62b8944ceeb (patch)
treed26601927b72789fc2fb9cd697839d188f79e336 /src/gui/kernel
parent88a2efaddc483fc3e055ab71ddd985b82b2a9a07 (diff)
Remove deprecation from enumerations in QtGui.
Referencing them in a (deprecated) function declaration causes a deprecation warning to be emitted each time the header is included, which causes a massive amount of warnings for qevent.h. It should be sufficient to deprecate them in the documentation and to deprecate function using them. Change-Id: I531b7c893e73428703cfb302615bff382abce54f Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index 7fbd2aeb4b..bb3bd8f325 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -779,7 +779,7 @@ public:
};
#if QT_DEPRECATED_SINCE(5, 0)
- enum QT_DEPRECATED DeviceType {
+ enum DeviceType {
TouchScreen,
TouchPad
};