1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 05:41:56 -05:00

Fixed some compiler warnings

This commit is contained in:
f4exb 2020-08-02 19:52:17 +02:00
parent 674a4ccd27
commit 161cded056
4 changed files with 4 additions and 9 deletions

View File

@ -408,6 +408,8 @@ private:
return LineBlack;
}
}
return LineBlack;
}
inline void pullImageLastHalfSample(Real& sample)

View File

@ -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;

View File

@ -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));
}
}

View File

@ -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;