#9591 Janitor: remove unused parameter in RiuPlotWigdet::createPlotCurve.

This commit is contained in:
Kristian Bendiksen
2023-01-09 11:38:40 +01:00
committed by Magne Sjaastad
parent 7d3fbf1234
commit 6b631b3d5a
8 changed files with 8 additions and 9 deletions

View File

@@ -179,7 +179,7 @@ public:
virtual void updateAxes() = 0;
virtual RiuPlotCurve* createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title, const QColor& color ) = 0;
virtual RiuPlotCurve* createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title ) = 0;
virtual const QColor& backgroundColor() const = 0;

View File

@@ -832,7 +832,7 @@ void RiuQtChartsPlotWidget::updateAxes()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiuPlotCurve* RiuQtChartsPlotWidget::createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title, const QColor& color )
RiuPlotCurve* RiuQtChartsPlotWidget::createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title )
{
return new RiuQtChartsPlotCurve( ownerRimCurve, title );
}

View File

@@ -166,7 +166,7 @@ public:
void updateLegend() override;
void updateAxes() override;
RiuPlotCurve* createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title, const QColor& color ) override;
RiuPlotCurve* createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title ) override;
QtCharts::QChart* qtChart();

View File

@@ -1326,7 +1326,7 @@ RiuPlotAxis RiuQwtPlotWidget::createNextPlotAxis( RiaDefines::PlotAxis axis )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiuPlotCurve* RiuQwtPlotWidget::createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title, const QColor& color )
RiuPlotCurve* RiuQwtPlotWidget::createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title )
{
return new RiuQwtPlotCurve( ownerRimCurve, title );
}

View File

@@ -157,7 +157,7 @@ public:
void updateLegend() override;
void updateAxes() override;
RiuPlotCurve* createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title, const QColor& color ) override;
RiuPlotCurve* createPlotCurve( RimPlotCurve* ownerRimCurve, const QString& title ) override;
void detachItems( RiuPlotWidget::PlotItemType plotItemType ) override;