mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -116,10 +116,9 @@ void RicMoveItemsToTopFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
if ( !constSelectedItems.empty() )
|
||||
{
|
||||
caf::PdmUiTreeView* uiTreeView =
|
||||
RiaGuiApplication::activeMainWindow()->getTreeViewWithItem( constSelectedItems[0] );
|
||||
QModelIndex itemIndex = uiTreeView->findModelIndex( constSelectedItems[0] );
|
||||
QModelIndex parentIndex = itemIndex.parent();
|
||||
caf::PdmUiTreeView* uiTreeView = RiaGuiApplication::activeMainWindow()->getTreeViewWithItem( constSelectedItems[0] );
|
||||
QModelIndex itemIndex = uiTreeView->findModelIndex( constSelectedItems[0] );
|
||||
QModelIndex parentIndex = itemIndex.parent();
|
||||
uiTreeView->updateSubTree( parentIndex );
|
||||
|
||||
// Restore selection highlight after reordering
|
||||
|
||||
Reference in New Issue
Block a user