mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 02:12:12 -05: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:
1 parent
310b54ef93
commit
952e766c2f
230 files changed
+2010
-2019
No files matched your search
@@ -390,11 +390,14 @@ void RimMultiPlot::doRenderWindowContent( QPaintDevice* paintDevice )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimMultiPlot::updatePlotOrderFromGridWidget()
|
||||
{
|
||||
std::sort( m_plots.begin(), m_plots.end(), [this]( RimPlot* lhs, RimPlot* rhs ) {
|
||||
auto indexLhs = m_viewer->indexOfPlotWidget( lhs->plotWidget() );
|
||||
auto indexRhs = m_viewer->indexOfPlotWidget( rhs->plotWidget() );
|
||||
return indexLhs < indexRhs;
|
||||
} );
|
||||
std::sort( m_plots.begin(),
|
||||
m_plots.end(),
|
||||
[this]( RimPlot* lhs, RimPlot* rhs )
|
||||
{
|
||||
auto indexLhs = m_viewer->indexOfPlotWidget( lhs->plotWidget() );
|
||||
auto indexRhs = m_viewer->indexOfPlotWidget( rhs->plotWidget() );
|
||||
return indexLhs < indexRhs;
|
||||
} );
|
||||
updateSubPlotNames();
|
||||
updateConnectedEditors();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user