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:
@@ -39,9 +39,12 @@ void RiuTools::enableAllActionsOnShow( QObject* object, QMenu* menu )
|
||||
{
|
||||
if ( object && menu )
|
||||
{
|
||||
object->connect( menu, &QMenu::aboutToShow, [menu]() {
|
||||
for ( auto act : menu->actions() )
|
||||
act->setEnabled( true );
|
||||
} );
|
||||
object->connect( menu,
|
||||
&QMenu::aboutToShow,
|
||||
[menu]()
|
||||
{
|
||||
for ( auto act : menu->actions() )
|
||||
act->setEnabled( true );
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user