mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Change from QPainter to QPaintDevice in the API for PDF rendering
* This is to be able to use QPagedPaintDevice::nextPage in the Multi plot rendering.
This commit is contained in:
@@ -127,10 +127,10 @@ void RimPlot::fieldChangedByUi( const caf::PdmFieldHandle* changedField, const Q
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPlot::doRenderWindowContent( QPainter* painter )
|
||||
void RimPlot::doRenderWindowContent( QPaintDevice* paintDevice )
|
||||
{
|
||||
if ( viewer() )
|
||||
{
|
||||
viewer()->renderTo( painter, viewer()->frameGeometry() );
|
||||
viewer()->renderTo( paintDevice, viewer()->frameGeometry() );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user