From f154909c69813d08622a56b7fd8435f5bf35af8a Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Thu, 17 Jan 2019 00:55:26 +0300 Subject: [PATCH] Redundant geometry change event has been removed --- common.pri | 2 +- limereport/lrbasedesignintf.cpp | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/common.pri b/common.pri index b2d17a5..222482d 100644 --- a/common.pri +++ b/common.pri @@ -77,7 +77,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 4 -LIMEREPORT_VERSION_RELEASE = 114 +LIMEREPORT_VERSION_RELEASE = 116 LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"' DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\" diff --git a/limereport/lrbasedesignintf.cpp b/limereport/lrbasedesignintf.cpp index 732933c..3a3a22b 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -1124,12 +1124,6 @@ void BaseDesignIntf::setItemPos(const QPointF &newPos) void BaseDesignIntf::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) { QGraphicsItem::mouseReleaseEvent(event); - QRectF newGeometry = geometry(); - if (newGeometry != m_oldGeometry) { - geometryChangedEvent(newGeometry, m_oldGeometry); - updateSelectionMarker(); - emit(geometryChanged(this, newGeometry, m_oldGeometry)); - } } void BaseDesignIntf::showEditorDialog(){