Skip to content
Permalink
Browse files

[composer] Use better cross hairs cursor

  • Loading branch information
nyalldawson committed Jan 22, 2014
1 parent 754307a commit 52d114fba43fdaa4bae80592b0963fd1415b2c72
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/qgscomposerview.cpp
@@ -109,7 +109,9 @@ void QgsComposerView::setCurrentTool( QgsComposerView::Tool t )
//using a drawing tool
//lock cursor to prevent composer items changing it
composition()->setPreventCursorChange( true );
viewport()->setCursor( Qt::CrossCursor );
QPixmap myCrosshairQPixmap = QPixmap(( const char ** )( cross_hair_cursor ) );
QCursor crosshairCursor = QCursor( myCrosshairQPixmap, 8, 8 );
viewport()->setCursor( crosshairCursor );
break;
}
default:

0 comments on commit 52d114f

Please sign in to comment.
You can’t perform that action at this time.