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
This commit is contained in:
stevehalasz 2004-05-20 20:23:37 +00:00
parent 14b9914ba2
commit 635b6d78c4

View File

@ -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