We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 85602c6 commit 5f7358aCopy full SHA for 5f7358a
src/gui/layertree/qgslayertreeviewdefaultactions.cpp
@@ -296,9 +296,8 @@ void QgsLayerTreeViewDefaultActions::zoomToSelection()
296
{
297
QAction *s = qobject_cast<QAction *>( sender() );
298
QgsMapCanvas *canvas = reinterpret_cast<QgsMapCanvas *>( s->data().value<void *>() );
299
- QApplication::setOverrideCursor( Qt::WaitCursor );
+ QgsTemporaryCursorOverride waitCursor( Qt::WaitCursor );
300
zoomToSelection( canvas );
301
- QApplication::restoreOverrideCursor();
302
}
303
304
void QgsLayerTreeViewDefaultActions::zoomToGroup()
0 commit comments