Add virtual destructors, fix warnings

This commit is contained in:
Jan Käberich 2022-12-15 00:00:15 +01:00
parent 4568be8ff4
commit fe340ac620
17 changed files with 16 additions and 49 deletions

View file

@ -774,7 +774,7 @@ void TraceXYPlot::draw(QPainter &p)
p.drawLine(xpos.x(), plotAreaTop, xpos.x(), plotAreaBottom);
}
if(pref.Graphs.SweepIndicator.triangle) {
for(unsigned int i=0;i<pref.Graphs.SweepIndicator.triangleSize;i++) {
for(int i=0;i<pref.Graphs.SweepIndicator.triangleSize;i++) {
p.drawLine(xpos.x() - i,plotAreaBottom+i+1, xpos.x() + i, plotAreaBottom+i+1);
}
}