mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4718 Qt5 : Use grab() instead of grabWidget()
This commit is contained in:
@@ -1321,7 +1321,7 @@ QImage RimSummaryPlot::snapshotWindowContent()
|
||||
|
||||
if ( m_qwtPlot )
|
||||
{
|
||||
QPixmap pix = QPixmap::grabWidget( m_qwtPlot );
|
||||
QPixmap pix = m_qwtPlot->grab();
|
||||
image = pix.toImage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user