Indentation

This commit is contained in:
Nyall Dawson 2024-12-04 10:38:13 +10:00
parent cbcab26c89
commit 77ee4cbef8
2 changed files with 5 additions and 5 deletions

View File

@ -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() )

View File

@ -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;
} }