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:
@@ -48,7 +48,7 @@ void RiuAbstractOverlayContentFrame::updateFontSize()
|
||||
{
|
||||
QFont font = this->font();
|
||||
font.setPixelSize( caf::FontTools::pointSizeToPixelSize( RiaPreferences::current()->defaultPlotFontSize() ) );
|
||||
this->setFont( font );
|
||||
setFont( font );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -81,7 +81,7 @@ void RiuTextOverlayContentFrame::renderTo( QPainter* painter, const QRect& targe
|
||||
updateLabelFont();
|
||||
|
||||
painter->save();
|
||||
painter->translate( targetRect.topLeft() + QPoint( this->contentsMargins().left(), this->contentsMargins().top() ) );
|
||||
painter->translate( targetRect.topLeft() + QPoint( contentsMargins().left(), contentsMargins().top() ) );
|
||||
painter->setFont( m_textLabel->font() );
|
||||
|
||||
QTextDocument td;
|
||||
|
||||
Reference in New Issue
Block a user