Only emit the clicked() signal from views if the left button is used.
authorStephen Kelly <stephen.kelly@kdab.com>
Mon, 6 Aug 2012 12:30:47 +0000 (14:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Aug 2012 14:40:07 +0000 (16:40 +0200)
commitc5d7ea5badb4ccc0cd7027d8629d80809e7ec3d7
tree1960b99e202a7e76a7298b18960c1c9201473a90
parent2ade633c0a3f5614b0c640fbc050be3d7d925abb
Only emit the clicked() signal from views if the left button is used.

This is consistent with QAbstractButton, QCalendarWidget,
QDialogButtonBox and QGroupBox (ie, all other widgets with
a clicked signal)

Task-number: QTBUG-26105

Change-Id: Ieafe988b5c03216796b69a7cd70ac1a03fc12b0a
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
dist/changes-5.0.0
src/widgets/itemviews/qabstractitemview.cpp
tests/auto/widgets/itemviews/qabstractitemview/tst_qabstractitemview.cpp