mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#10367 Janitor: Remove unneccessary 'this' pointers
This commit is contained in:
@@ -316,7 +316,7 @@ void RiuMainWindow::closeEvent( QCloseEvent* event )
|
||||
return;
|
||||
}
|
||||
}
|
||||
this->saveWinGeoAndDockToolBarLayout();
|
||||
saveWinGeoAndDockToolBarLayout();
|
||||
QMainWindow::closeEvent( event );
|
||||
}
|
||||
|
||||
@@ -880,7 +880,7 @@ void RiuMainWindow::setResultInfo( const QString& info ) const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuMainWindow::refreshViewActions()
|
||||
{
|
||||
this->slotRefreshViewActions();
|
||||
slotRefreshViewActions();
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
@@ -1802,7 +1802,7 @@ void RiuMainWindow::updateMemoryUsage()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuMainWindow::showProcessMonitorDockPanel()
|
||||
{
|
||||
RiuDockWidgetTools::showDockWidget( this->dockManager(), RiuDockWidgetTools::mainWindowProcessMonitorName() );
|
||||
RiuDockWidgetTools::showDockWidget( dockManager(), RiuDockWidgetTools::mainWindowProcessMonitorName() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -2010,7 +2010,7 @@ void RiuMainWindow::customMenuRequested( const QPoint& pos )
|
||||
|
||||
// Qt doc: QAbstractScrollArea and its subclasses that map the context menu event to coordinates of the viewport().
|
||||
// Since we might get this signal from different treeViews, we need to map the position accordingly.
|
||||
QObject* senderObj = this->sender();
|
||||
QObject* senderObj = sender();
|
||||
QTreeView* treeView = dynamic_cast<QTreeView*>( senderObj );
|
||||
if ( treeView )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user