mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-10 10:17:06 +01:00
Remove dead code. Fix some compiler warnings.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user