remove unused global showDemod

This commit is contained in:
Philippe Teuwen committed 2021-08-21 17:42:00 +02:00
1 parent f1f2389fb4
commit a8bb07db3a
3 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -711,7 +711,7 @@ void Plot::paintEvent(QPaintEvent *event) {
//Start painting graph
PlotGraph(g_GraphBuffer, GraphTraceLen, plotRect, infoRect, &painter, 0);
if (showDemod && g_DemodBufferLen > 8) {
if (g_DemodBufferLen > 8) {
PlotDemod(g_DemodBuffer, g_DemodBufferLen, plotRect, infoRect, &painter, 2, g_DemodStartIdx);
}
if (g_useOverlays) {