diff --git a/src/barplot.cpp b/src/barplot.cpp --- a/src/barplot.cpp +++ b/src/barplot.cpp @@ -31,13 +31,11 @@ BarPlot::BarPlot(ChannelManager* channel update(); connect(_channelMan, &ChannelManager::dataAdded, this, &BarPlot::update); connect(_channelMan, &ChannelManager::numOfChannelsChanged, this, &BarPlot::update); - connect(_channelMan, &ChannelManager::channelNameChanged, this, &BarPlot::update); } void BarPlot::update() { setAxisScale(QwtPlot::xBottom, 0, _channelMan->numOfChannels(), 1); - static_cast(axisScaleDraw(QwtPlot::xBottom))->updateLabels(); barChart.resample(); replot(); }