From 8dfefac6a14cc7b36064314f8c45441ec39026ef Mon Sep 17 00:00:00 2001 From: timlinux Date: Sun, 25 Jan 2004 01:15:11 +0000 Subject: [PATCH] Fixed hotspots in new cursors. git-svn-id: http://svn.osgeo.org/qgis/trunk@580 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/qgisapp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qgisapp.cpp b/src/qgisapp.cpp index decd1da92a3..e5c4e660a24 100644 --- a/src/qgisapp.cpp +++ b/src/qgisapp.cpp @@ -604,7 +604,7 @@ void QgisApp::zoomIn() QPixmap myZoomInQPixmap=QPixmap((const char **) zoom_in); delete mapCursor; - mapCursor = new QCursor(myZoomInQPixmap, 5, 5); + mapCursor = new QCursor(myZoomInQPixmap, 7, 7); mapCanvas->setCursor(*mapCursor); // scale the extent /* QgsRect ext = mapCanvas->extent(); @@ -623,7 +623,7 @@ void QgisApp::zoomOut() QPixmap myZoomOutQPixmap=QPixmap((const char **) zoom_out); delete mapCursor; - mapCursor = new QCursor(myZoomOutQPixmap, 5, 5); + mapCursor = new QCursor(myZoomOutQPixmap, 7, 7); mapCanvas->setCursor(*mapCursor); /* QWMatrix m = mapCanvas->worldMatrix(); @@ -665,7 +665,7 @@ void QgisApp::identify() QPixmap myIdentifyQPixmap=QPixmap((const char **) identify_cursor); delete mapCursor; - mapCursor = new QCursor(myIdentifyQPixmap, 5, 5); + mapCursor = new QCursor(myIdentifyQPixmap, 1, 1); mapCanvas->setCursor(*mapCursor); } @@ -692,7 +692,7 @@ void QgisApp::select() QPixmap mySelectQPixmap=QPixmap((const char **) select_cursor); delete mapCursor; - mapCursor = new QCursor(mySelectQPixmap, 5, 5); + mapCursor = new QCursor(mySelectQPixmap, 1, 1); mapCanvas->setCursor(*mapCursor); }