mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update clang-format.yml (#10068)
* Update to clang-format-15 Removed two custom .clang-format files in subfolders of AppFwk * Fixes by clang-format
This commit is contained in:
@@ -307,7 +307,8 @@ void RiuQtChartsPlotWidget::setInternalLegendVisible( bool visible )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuQtChartsPlotWidget::insertLegend( RiuPlotWidget::Legend legendPosition )
|
||||
{
|
||||
auto mapLegendPosition = []( RiuPlotWidget::Legend pos ) {
|
||||
auto mapLegendPosition = []( RiuPlotWidget::Legend pos )
|
||||
{
|
||||
if ( pos == RiuPlotWidget::Legend::BOTTOM )
|
||||
return Qt::AlignBottom;
|
||||
else if ( pos == RiuPlotWidget::Legend::TOP )
|
||||
@@ -860,7 +861,8 @@ void RiuQtChartsPlotWidget::attach( RiuPlotCurve* plotCurve,
|
||||
auto series,
|
||||
auto xAxis,
|
||||
auto yAxis,
|
||||
RiuQtChartsPlotCurve* qtChartsPlotCurve ) {
|
||||
RiuQtChartsPlotCurve* qtChartsPlotCurve )
|
||||
{
|
||||
if ( !series->chart() )
|
||||
{
|
||||
curveSeriesMap[plotCurve] = series;
|
||||
|
||||
Reference in New Issue
Block a user