mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix compile issues Linux
This commit is contained in:
parent
d4130b456b
commit
1900caba50
@ -586,8 +586,8 @@ QString Rim3dOverlayInfoConfig::caseInfoText( RimEclipseView* eclipseView )
|
|||||||
}
|
}
|
||||||
else if ( eclipseView->mainGrid() )
|
else if ( eclipseView->mainGrid() )
|
||||||
{
|
{
|
||||||
QString totCellCount =
|
QString totCellCount = localeWithSpaceAsGroupSeparator.toString(
|
||||||
localeWithSpaceAsGroupSeparator.toString( eclipseView->mainGrid()->globalCellArray().size() );
|
static_cast<int>( eclipseView->mainGrid()->globalCellArray().size() ) );
|
||||||
|
|
||||||
size_t mxActCellCount = eclipseView->eclipseCase()
|
size_t mxActCellCount = eclipseView->eclipseCase()
|
||||||
->eclipseCaseData()
|
->eclipseCaseData()
|
||||||
@ -600,9 +600,10 @@ QString Rim3dOverlayInfoConfig::caseInfoText( RimEclipseView* eclipseView )
|
|||||||
|
|
||||||
QString activeCellCountText;
|
QString activeCellCountText;
|
||||||
if ( frActCellCount > 0 ) activeCellCountText += "Matrix : ";
|
if ( frActCellCount > 0 ) activeCellCountText += "Matrix : ";
|
||||||
activeCellCountText += localeWithSpaceAsGroupSeparator.toString( mxActCellCount );
|
activeCellCountText += localeWithSpaceAsGroupSeparator.toString( static_cast<int>( mxActCellCount ) );
|
||||||
if ( frActCellCount > 0 )
|
if ( frActCellCount > 0 )
|
||||||
activeCellCountText += " Fracture : " + localeWithSpaceAsGroupSeparator.toString( frActCellCount );
|
activeCellCountText += " Fracture : " +
|
||||||
|
localeWithSpaceAsGroupSeparator.toString( static_cast<int>( frActCellCount ) );
|
||||||
|
|
||||||
QString iSize = QString::number( eclipseView->mainGrid()->cellCountI() );
|
QString iSize = QString::number( eclipseView->mainGrid()->cellCountI() );
|
||||||
QString jSize = QString::number( eclipseView->mainGrid()->cellCountJ() );
|
QString jSize = QString::number( eclipseView->mainGrid()->cellCountJ() );
|
||||||
|
Loading…
Reference in New Issue
Block a user