diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-04-22 11:03:53 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-11 14:51:53 (GMT) |
commit | ec94be7f23bfd9c13e42b9b20f01af69bae83660 (patch) | |
tree | 41e380722df80d2de30417ffee804ab79f6ab78d /src/gui/kernel/qapplication_p.h | |
parent | 7bda9fff3b48d2534fb70cc6a9c4b0b945eaaf12 (diff) | |
download | Qt-ec94be7f23bfd9c13e42b9b20f01af69bae83660.zip Qt-ec94be7f23bfd9c13e42b9b20f01af69bae83660.tar.gz Qt-ec94be7f23bfd9c13e42b9b20f01af69bae83660.tar.bz2 |
Removed all weird qHash usage for gesture identification.
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r-- | src/gui/kernel/qapplication_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h index a6cb927..a375933 100644 --- a/src/gui/kernel/qapplication_p.h +++ b/src/gui/kernel/qapplication_p.h @@ -429,9 +429,9 @@ public: void sendSyntheticEnterLeave(QWidget *widget); #endif - // map<gesture id -> number of grabbed widgets (something like refcount) QGestureManager *gestureManager; - QMap<int, int> grabbedGestures; + // map<gesture name -> number of widget subscribed to it> + QMap<QString, int> grabbedGestures; static void updateTouchPointsForWidget(QWidget *widget, QTouchEvent *touchEvent); |