Janitor : Several fixes by clang-tidy and use of clang compiler

This commit is contained in:
Magne Sjaastad committed 2021-04-05 11:51:23 -07:00
1 parent b01569869a
commit d754ef4705
36 files changed
+185 -141

No files matched your search

@@ -90,14 +90,15 @@ void RicNewCorrelationMatrixPlotFeature::onActionTriggered( bool isChecked )
newPlot = correlationPlotColl->createCorrelationMatrixPlot( ensemble, includedQuantityNames, timeStep );
}
}
else
if ( !newPlot && correlationPlotColl )
{
newPlot = correlationPlotColl->createCorrelationMatrixPlot();
}
newPlot->loadDataAndUpdate();
correlationPlotColl->updateConnectedEditors();
if ( correlationPlotColl ) correlationPlotColl->updateConnectedEditors();
RiuPlotMainWindowTools::setExpanded( newPlot );
RiuPlotMainWindowTools::selectAsCurrentItem( newPlot );