diff --git a/src/app/labeling/qgsmaptoolpinlabels.cpp b/src/app/labeling/qgsmaptoolpinlabels.cpp index e8c03ef20cb6..a9fc6820eb89 100644 --- a/src/app/labeling/qgsmaptoolpinlabels.cpp +++ b/src/app/labeling/qgsmaptoolpinlabels.cpp @@ -190,7 +190,6 @@ void QgsMapToolPinLabels::highlightPinnedLabels() const QList labelPosList = labelingResults->labelsWithinRect( ext ); - QApplication::setOverrideCursor( Qt::WaitCursor ); for ( const QgsLabelPosition &pos : labelPosList ) { mCurrentLabel = LabelDetails( pos, canvas() ); @@ -254,18 +253,15 @@ void QgsMapToolPinLabels::highlightPinnedLabels() highlightCallout( false, callout, calloutStringID, calloutColor ); } } - QApplication::restoreOverrideCursor(); } void QgsMapToolPinLabels::removePinnedHighlights() { - QApplication::setOverrideCursor( Qt::BusyCursor ); for ( QgsRubberBand *rb : std::as_const( mHighlights ) ) { delete rb; } mHighlights.clear(); - QApplication::restoreOverrideCursor(); } void QgsMapToolPinLabels::pinUnpinLabels( const QgsRectangle &ext, QMouseEvent *e )