summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-09 20:38:41 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-12 09:31:10 (GMT)
commita2e061b7aa2fda92d891d9783217a5d87b8df5d0 (patch)
treeba10a66f563717e67a3107f76a347c2d942e272b /src/corelib/global/qnamespace.h
parentdd24ba2bc9c6c25fe2e7ba3f308253ae7dfc4cb7 (diff)
downloadQt-a2e061b7aa2fda92d891d9783217a5d87b8df5d0.zip
Qt-a2e061b7aa2fda92d891d9783217a5d87b8df5d0.tar.gz
Qt-a2e061b7aa2fda92d891d9783217a5d87b8df5d0.tar.bz2
Fixed enum values in Qt::GestureContext.
The only reason to refer to values from the Qt::ShortcutContext enum is to avoid confusing people since enum value names look similar so we want to avoid weird behaviour when mixing them. But referring to another enum value makes the documentation look weird as it mentions different unrelated enum value in the GestureContext doc. Reviewed-by: trustme
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r--src/corelib/global/qnamespace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index c90c096..6d8c4e7 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -1634,8 +1634,8 @@ public:
enum GestureContext
{
- WidgetGesture = WidgetShortcut,
- WidgetWithChildrenGesture = WidgetWithChildrenShortcut,
+ WidgetGesture = 0,
+ WidgetWithChildrenGesture = 3,
};
enum NavigationMode