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 754307a commit 52d114fCopy full SHA for 52d114f
src/gui/qgscomposerview.cpp
@@ -109,7 +109,9 @@ void QgsComposerView::setCurrentTool( QgsComposerView::Tool t )
109
//using a drawing tool
110
//lock cursor to prevent composer items changing it
111
composition()->setPreventCursorChange( true );
112
- viewport()->setCursor( Qt::CrossCursor );
+ QPixmap myCrosshairQPixmap = QPixmap(( const char ** )( cross_hair_cursor ) );
113
+ QCursor crosshairCursor = QCursor( myCrosshairQPixmap, 8, 8 );
114
+ viewport()->setCursor( crosshairCursor );
115
break;
116
}
117
default:
0 commit comments