From c5d7ea5badb4ccc0cd7027d8629d80809e7ec3d7 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 6 Aug 2012 14:30:47 +0200 Subject: 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 Reviewed-by: Olivier Goffart --- dist/changes-5.0.0 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 93b49ecf05..eddce7e407 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -463,6 +463,9 @@ QtWidgets is no longer supported. Construct the item without a scene and then call QGraphicsScene::addItem() to add the item to the scene. +* QAbstractItemView and derived classes only emit the clicked() signal on left click now, + instead of on all mouse clicks. + QtNetwork --------- * QHostAddress::isLoopback() API added. Returns true if the address is -- cgit v1.2.3