Mercurial > hg > svgui
diff view/Overview.cpp @ 1186:8665e0ffa0d8 levelpanwidget
Merge from branch 3.0-integration
author | Chris Cannam |
---|---|
date | Wed, 14 Dec 2016 14:28:41 +0000 |
parents | 97d0c798c2ac |
children | a34a2a25907c |
line wrap: on
line diff
--- a/view/Overview.cpp Tue Dec 06 09:47:27 2016 +0000 +++ b/view/Overview.cpp Wed Dec 14 14:28:41 2016 +0000 @@ -211,8 +211,6 @@ paint.setClipRegion(e->region()); paint.setRenderHints(QPainter::Antialiasing); - QRect r(rect()); - // We paint a rounded rect for each distinct set of view extents, // and we colour in the inside and outside of the rect that // corresponds to the current view. (One small caveat -- we don't @@ -245,7 +243,6 @@ int x0 = getXForFrame(f0); int x1 = getXForFrame(f1); - if (x1 <= x0) x1 = x0 + 1; std::pair<int, int> extent(x0, x1);