Skip to content

Commit b95375a

Browse files
committed
Use standard crosshair cursor in layouts
1 parent 048db93 commit b95375a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gui/layout/qgslayoutviewtooladditem.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ QgsLayoutViewToolAddItem::QgsLayoutViewToolAddItem( QgsLayoutView *view )
3535
: QgsLayoutViewTool( view, tr( "Add item" ) )
3636
{
3737
setFlags( QgsLayoutViewTool::FlagSnaps );
38-
setCursor( QgsApplication::getThemeCursor( QgsApplication::Cursor::CrossHair ) );
38+
setCursor( Qt::CrossCursor );
3939
}
4040

4141
void QgsLayoutViewToolAddItem::setItemMetadataId( int metadataId )

src/gui/layout/qgslayoutviewtooladdnodeitem.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ QgsLayoutViewToolAddNodeItem::QgsLayoutViewToolAddNodeItem( QgsLayoutView *view
3636
: QgsLayoutViewTool( view, tr( "Add item" ) )
3737
{
3838
setFlags( QgsLayoutViewTool::FlagSnaps );
39-
setCursor( QgsApplication::getThemeCursor( QgsApplication::Cursor::CrossHair ) );
39+
setCursor( Qt::CrossCursor );
4040
}
4141

4242
void QgsLayoutViewToolAddNodeItem::setItemMetadataId( int metadataId )

0 commit comments

Comments
 (0)