mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 23:20:29 -05:00
Janitor: rename variable.
This commit is contained in:
1 parent
540c8c3b36
commit
a9890af031
2 files changed
+6
-6
No files matched your search
@@ -38,7 +38,7 @@
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Riu3dSelectionManager::Riu3dSelectionManager()
|
||||
: m_notificationCenter( new RiuSelectionChangedHandler )
|
||||
: m_selectionChangedHandler( new RiuSelectionChangedHandler )
|
||||
{
|
||||
m_selection.resize( 2 );
|
||||
}
|
||||
@@ -51,7 +51,7 @@ Riu3dSelectionManager::~Riu3dSelectionManager()
|
||||
deleteAllItemsFromSelection( RUI_APPLICATION_GLOBAL );
|
||||
deleteAllItemsFromSelection( RUI_TEMPORARY );
|
||||
|
||||
delete m_notificationCenter;
|
||||
delete m_selectionChangedHandler;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -100,7 +100,7 @@ void Riu3dSelectionManager::appendItemToSelection( RiuSelectionItem* item, int r
|
||||
|
||||
s.push_back( item );
|
||||
|
||||
if ( role == RUI_APPLICATION_GLOBAL ) m_notificationCenter->handleItemAppended( item );
|
||||
if ( role == RUI_APPLICATION_GLOBAL ) m_selectionChangedHandler->handleItemAppended( item );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -114,7 +114,7 @@ void Riu3dSelectionManager::setSelectedItem( RiuSelectionItem* item, int role )
|
||||
|
||||
s.push_back( item );
|
||||
|
||||
if ( role == RUI_APPLICATION_GLOBAL ) m_notificationCenter->handleSetSelectedItem( item );
|
||||
if ( role == RUI_APPLICATION_GLOBAL ) m_selectionChangedHandler->handleSetSelectedItem( item );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -126,7 +126,7 @@ void Riu3dSelectionManager::deleteAllItems( int role )
|
||||
{
|
||||
deleteAllItemsFromSelection( role );
|
||||
|
||||
if ( role == RUI_APPLICATION_GLOBAL ) m_notificationCenter->handleSelectionDeleted();
|
||||
if ( role == RUI_APPLICATION_GLOBAL ) m_selectionChangedHandler->handleSelectionDeleted();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ private:
|
||||
private:
|
||||
std::vector<std::vector<RiuSelectionItem*>> m_selection;
|
||||
|
||||
RiuSelectionChangedHandler* m_notificationCenter;
|
||||
RiuSelectionChangedHandler* m_selectionChangedHandler;
|
||||
};
|
||||
|
||||
//==================================================================================================
|
||||
|
||||
Reference in new issue
Block a user