From 635b6d78c4fe3987e6796264b146805f98e714f0 Mon Sep 17 00:00:00 2001 From: stevehalasz Date: Thu, 20 May 2004 20:23:37 +0000 Subject: [PATCH] remove some lines that snuck into fix by accident git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1438 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/qgslegend.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/qgslegend.cpp b/src/qgslegend.cpp index 8844260a329..04c73f4a756 100644 --- a/src/qgslegend.cpp +++ b/src/qgslegend.cpp @@ -371,13 +371,13 @@ void QgsLegend::contentsMouseMoveEvent(QMouseEvent * e) { // scroll view if we're near the edge QPoint p(contentsToViewport(e->pos())); - if (p.y() < 15) - { - scrollBy(0, -(15 - p.y())); - } else if (p.y() > visibleHeight() - 15) - { - scrollBy(0, p.y() - visibleHeight() - 15) - } + //if (p.y() < 15) + // { + // scrollBy(0, -(15 - p.y())); + //} else if (p.y() > visibleHeight() - 15) + // { + // scrollBy(0, p.y() - visibleHeight() - 15) + // } // move item in list if we're dragging over another item