#10367 Janitor: Remove unneccessary 'this' pointers

This commit is contained in:
Kristian Bendiksen
2023-08-04 09:04:14 +02:00
parent 2614cf3d62
commit 5bf2c2a89d
292 changed files with 1625 additions and 1664 deletions

View File

@@ -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 )
{