Remove dead code. Fix some compiler warnings.

This commit is contained in:
Eoin Mcloughlin
2016-10-01 21:54:41 +01:00
parent 83be56fd8b
commit b2068f5f44
4 changed files with 1 additions and 4 deletions

View File

@@ -482,7 +482,6 @@ void PlotView::updateView(bool reCenter)
verticalScrollBar()->setMaximum(std::max(0, plotsHeight() - viewport()->height()));
// Update cursors
QRect rect = viewport()->rect();
range_t<int> newSelection = {
(int)((selectedSamples.minimum - horizontalScrollBar()->value()) / samplesPerLine()),
(int)((selectedSamples.maximum - horizontalScrollBar()->value()) / samplesPerLine())