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:
@@ -133,21 +133,15 @@ QString RimMeasurement::label() const
|
||||
|
||||
if ( m_pointsInDomainCoords.size() > 2 )
|
||||
{
|
||||
text = QString( "Segment Length: %1\nSegment Horizontal Length: %2\n" )
|
||||
.arg( lengths.lastSegmentLength )
|
||||
.arg( lengths.lastSegmentHorisontalLength );
|
||||
text = QString( "Segment Length: %1\nSegment Horizontal Length: %2\n" ).arg( lengths.lastSegmentLength ).arg( lengths.lastSegmentHorisontalLength );
|
||||
|
||||
text += QString( "Total Length: %1\nTotal Horizontal Length: %2\n" )
|
||||
.arg( lengths.totalLength )
|
||||
.arg( lengths.totalHorizontalLength );
|
||||
text += QString( "Total Length: %1\nTotal Horizontal Length: %2\n" ).arg( lengths.totalLength ).arg( lengths.totalHorizontalLength );
|
||||
|
||||
text += QString( "\nHorizontal Area : %1" ).arg( lengths.area );
|
||||
}
|
||||
else
|
||||
{
|
||||
text = QString( "Length: %1\nHorizontal Length: %2\n" )
|
||||
.arg( lengths.lastSegmentLength )
|
||||
.arg( lengths.lastSegmentHorisontalLength );
|
||||
text = QString( "Length: %1\nHorizontal Length: %2\n" ).arg( lengths.lastSegmentLength ).arg( lengths.lastSegmentHorisontalLength );
|
||||
}
|
||||
|
||||
return text;
|
||||
|
||||
Reference in New Issue
Block a user