Mercurial > hg > easyhg
diff src/panned.cpp @ 671:ce29dc775650 qt5
Fix compiler warnings
author | Chris Cannam |
---|---|
date | Wed, 05 Dec 2018 09:43:26 +0000 |
parents | ae67ea0af696 |
children | ad3e5693cb76 |
line wrap: on
line diff
--- a/src/panned.cpp Fri May 27 11:02:53 2016 +0100 +++ b/src/panned.cpp Wed Dec 05 09:43:26 2018 +0000 @@ -88,7 +88,7 @@ } void -Panned::drawForeground(QPainter *paint, const QRectF &) +Panned::drawForeground(QPainter *, const QRectF &) { QPointF nearpt = mapToScene(0, 0); QPointF farpt = mapToScene(width(), height()); @@ -222,6 +222,10 @@ m_dragDirection = FreeDrag; } break; + + case FreeDrag: + // stick with it + break; }; }