diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2010-02-18 15:07:27 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-03-03 14:50:16 (GMT) |
commit | f3dab146f231398455e52ff99d4c6f8365c8d412 (patch) | |
tree | 26d35734786498054ca649bb3f9340320b20fa09 /src/gui/widgets/qtabwidget.h | |
parent | d4bae0d0e96138d913bfc7ec9fa86b887043787f (diff) | |
download | Qt-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/widgets/qtabwidget.h')
0 files changed, 0 insertions, 0 deletions