[QGIS Commit] r10898 - branches/Version-1_0/src/app/legend

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Jun 10 03:39:56 EDT 2009


Author: mhugent
Date: 2009-06-10 03:39:56 -0400 (Wed, 10 Jun 2009)
New Revision: 10898

Modified:
   branches/Version-1_0/src/app/legend/qgslegend.cpp
Log:
Backport of legend cursor fix to 1.0 branch

Modified: branches/Version-1_0/src/app/legend/qgslegend.cpp
===================================================================
--- branches/Version-1_0/src/app/legend/qgslegend.cpp	2009-06-10 07:35:26 UTC (rev 10897)
+++ branches/Version-1_0/src/app/legend/qgslegend.cpp	2009-06-10 07:39:56 UTC (rev 10898)
@@ -266,6 +266,7 @@
               moveItem( dest, origin );
             }
           }
+          setCursor( QCursor( Qt::SizeVerCursor ) );
           setCurrentItem( origin );
         }
         else
@@ -290,6 +291,7 @@
             //origin->moveItem(dest);
             moveItem( origin, dest );
           }
+          setCursor( QCursor( Qt::SizeVerCursor ) );
           setCurrentItem( origin );
         }
         else if ( action == QgsLegendItem::INSERT )



More information about the QGIS-commit mailing list