qt5base-lts/tests/manual/widgets
Thorbjørn Lund Martsum 7523bbb0c0 QComboBox - only react on a mouse-release if we had a mousepress
In delegates we get into trouble with calling showPopup in
setEditorData (edit by double click) - and that is not reasonable.
The user has requested edit - and therefore it is natural to save
a click for the user and show the popup at once.

However that fails since we have the mouse down and as soon as we
release the mouse we will call hidePopup.

This patch ensures that the mouseReleaseEvent, that caused the
problem is only considered if we have had a mousePressEvent.

Change-Id: Ibe031fcb9ad2158f6969e41127bbb5f651b9cae6
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2013-08-21 21:08:08 +02:00
..
itemviews QComboBox - only react on a mouse-release if we had a mousepress 2013-08-21 21:08:08 +02:00
kernel QSizePolicy - add retainSizeWhenHidden 2013-07-10 09:26:31 +02:00
qgraphicsview Merge remote-tracking branch 'origin/stable' into dev 2013-05-23 21:27:07 +02:00
widgets.pro QToolTip - add static showText with time. 2013-05-27 19:58:19 +02:00