mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Fixed some compiler warnings
This commit is contained in:
parent
674a4ccd27
commit
161cded056
@ -408,6 +408,8 @@ private:
|
||||
return LineBlack;
|
||||
}
|
||||
}
|
||||
|
||||
return LineBlack;
|
||||
}
|
||||
|
||||
inline void pullImageLastHalfSample(Real& sample)
|
||||
|
@ -131,9 +131,6 @@ private:
|
||||
m_timeDeltaStr(other.m_timeDeltaStr),
|
||||
m_valueDeltaStr(other.m_valueDeltaStr)
|
||||
{}
|
||||
explicit operator ScopeMarker() const {
|
||||
return ScopeMarker{static_cast<ScopeMarker>(*this)};
|
||||
}
|
||||
};
|
||||
QList<ScopeMarker> m_markers1;
|
||||
QList<ScopeMarker> m_markers2;
|
||||
|
@ -2305,6 +2305,8 @@ QString GLSpectrum::displayScaled(int64_t value, char type, int precision, bool
|
||||
return tr("%1%2").arg(QString::number(value / 1000000.0, type, precision)).arg(showMult ? "M" : "");
|
||||
} else if (posValue < 1000000000000) {
|
||||
return tr("%1%2").arg(QString::number(value / 1000000000.0, type, precision)).arg(showMult ? "G" : "");
|
||||
} else {
|
||||
return tr("%1").arg(QString::number(value, 'e', precision));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -169,9 +169,6 @@ private:
|
||||
m_deltaFrequencyStr(other.m_deltaFrequencyStr),
|
||||
m_deltaPowerStr(other.m_deltaPowerStr)
|
||||
{}
|
||||
explicit operator HistogramMarker() const {
|
||||
return HistogramMarker{static_cast<HistogramMarker>(*this)};
|
||||
}
|
||||
};
|
||||
QList<HistogramMarker> m_histogramMarkers;
|
||||
|
||||
@ -218,9 +215,6 @@ private:
|
||||
m_deltaFrequencyStr(other.m_deltaFrequencyStr),
|
||||
m_deltaTimeStr(other.m_deltaTimeStr)
|
||||
{}
|
||||
explicit operator WaterfallMarker() const {
|
||||
return WaterfallMarker{static_cast<WaterfallMarker>(*this)};
|
||||
}
|
||||
};
|
||||
QList<WaterfallMarker> m_waterfallMarkers;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user