summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-02-18 15:07:27 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-03-03 14:50:16 (GMT)
commitf3dab146f231398455e52ff99d4c6f8365c8d412 (patch)
tree26d35734786498054ca649bb3f9340320b20fa09 /src/gui/kernel/qwidget.cpp
parentd4bae0d0e96138d913bfc7ec9fa86b887043787f (diff)
downloadQt-f3dab146f231398455e52ff99d4c6f8365c8d412.zip
Qt-f3dab146f231398455e52ff99d4c6f8365c8d412.tar.gz
Qt-f3dab146f231398455e52ff99d4c6f8365c8d412.tar.bz2
Do not reset state too early on RMB click
When long-tapping on a spin box, a context menu event would stop incrementing the spin box since we called reset() too early. Call reset only if it's clear that there's a context menu. Also don't crash if menu is 0. Reviewed-by: Robert Griebl
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
0 files changed, 0 insertions, 0 deletions