mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-12 00:06:44 -05:00
Indentation
This commit is contained in:
parent
cbcab26c89
commit
77ee4cbef8
@ -272,7 +272,7 @@ void QgsLayoutMouseHandles::showStatusMessage( const QString &message )
|
|||||||
|
|
||||||
void QgsLayoutMouseHandles::mouseDoubleClickEvent( QGraphicsSceneMouseEvent *event )
|
void QgsLayoutMouseHandles::mouseDoubleClickEvent( QGraphicsSceneMouseEvent *event )
|
||||||
{
|
{
|
||||||
QgsGraphicsViewMouseHandles::mouseDoubleClickEvent( event );
|
QgsGraphicsViewMouseHandles::mouseDoubleClickEvent( event );
|
||||||
|
|
||||||
QList<QGraphicsItem *> items = selectedSceneItems();
|
QList<QGraphicsItem *> items = selectedSceneItems();
|
||||||
if ( items.isEmpty() )
|
if ( items.isEmpty() )
|
||||||
|
|||||||
@ -557,9 +557,9 @@ void QgsGraphicsViewMouseHandles::mouseReleaseEvent( QGraphicsSceneMouseEvent *e
|
|||||||
|
|
||||||
if ( mDoubleClickInProgress )
|
if ( mDoubleClickInProgress )
|
||||||
{
|
{
|
||||||
mDoubleClickInProgress = false;
|
mDoubleClickInProgress = false;
|
||||||
event->accept();
|
event->accept();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mouse may have been grabbed from the QgsLayoutViewSelectTool, so we need to release it explicitly
|
// Mouse may have been grabbed from the QgsLayoutViewSelectTool, so we need to release it explicitly
|
||||||
@ -1081,7 +1081,7 @@ void QgsGraphicsViewMouseHandles::mouseDoubleClickEvent( QGraphicsSceneMouseEven
|
|||||||
{
|
{
|
||||||
Q_UNUSED( event )
|
Q_UNUSED( event )
|
||||||
|
|
||||||
mDoubleClickInProgress = true;
|
mDoubleClickInProgress = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user