Copy changes from dev-branch into main

History of main branch was difficult to merge. Take a copy of dev-branch, and merge both ways between dev and main after the release.
This commit is contained in:
Magne Sjaastad committed 2023-10-23 09:26:33 +02:00
1 parent 5688838899
commit 06f9c6126d
1778 files changed
+35036 -12457

No files matched your search

@@ -38,7 +38,7 @@ RiuVfpQwtPlot::RiuVfpQwtPlot( RimVfpPlot* plot, QWidget* parent /*= nullptr*/ )
// Remove event filter to disable unwanted highlighting
// on left click in plot.
removeEventFilter( this );
QEventLoop::removeEventFilter( this );
canvas()->removeEventFilter( this );
}
@@ -56,7 +56,7 @@ void RiuVfpQwtPlot::contextMenuEvent( QContextMenuEvent* event )
menuBuilder.appendToMenu( &menu );
if ( menu.actions().size() > 0 )
if ( !menu.actions().empty() )
{
menu.exec( event->globalPos() );
}