From a2e061b7aa2fda92d891d9783217a5d87b8df5d0 Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Fri, 9 Oct 2009 22:38:41 +0200 Subject: 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 --- src/corelib/global/qnamespace.h | 4 ++-- 1 file 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 -- cgit v0.12