Mercurial > hg > svgui
diff view/Overview.cpp @ 1216:dc2af6616c83
Merge from branch 3.0-integration
author | Chris Cannam |
---|---|
date | Fri, 13 Jan 2017 10:29:50 +0000 |
parents | 97d0c798c2ac |
children | a34a2a25907c |
line wrap: on
line diff
--- a/view/Overview.cpp Fri Mar 04 12:23:31 2016 +0000 +++ b/view/Overview.cpp Fri Jan 13 10:29:50 2017 +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);