Skip to content

Commit

Permalink
gui: Removed unnecessary includes.
Browse files Browse the repository at this point in the history
Signed-off-by: andrei.danila <[email protected]>
  • Loading branch information
andreidanila1 committed Jun 11, 2024
1 parent ca4247a commit 0a182d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions gui/src/plottracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,3 @@ void PlotTracker::onChannelSelected(PlotChannel *ch)
}

#include "moc_plottracker.cpp"

#include <QSet>
#include <QSet>
#include <QSet>
#include <QSet>
#include <qset.h>
1 change: 0 additions & 1 deletion gui/src/plotwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <QwtPlotCanvas>
#include <qwt_scale_widget.h>

//#include <customqwtscaledraw.hpp>
#include <osc_scale_engine.h>
#include <pluginbase/preferences.h>

Expand Down
3 changes: 2 additions & 1 deletion gui/src/widgets/plotbufferpreviewer.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "plotbufferpreviewer.h"
#include "plotaxis.h"
#include <cmath>

using namespace scopy;

Expand Down Expand Up @@ -95,7 +96,7 @@ void PlotBufferPreviewer::updateBufferPreviewer()

// Time interval that represents the captured data
QwtInterval dataInterval(std::min(m_bufferDataLimitMin, m_bufferDataLimitMax),
std::max(m_bufferDataLimitMin, m_bufferDataLimitMax));
std::fmax(m_bufferDataLimitMin, m_bufferDataLimitMax));

// Use the two intervals to determine the width and position of the
// waveform and of the highlighted area
Expand Down

0 comments on commit 0a182d5

Please sign in to comment.