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:
@@ -284,7 +284,7 @@ QImage RimWellLogPlot::snapshotWindowContent()
|
||||
|
||||
if ( m_viewer )
|
||||
{
|
||||
QPixmap pix = QPixmap::grabWidget( m_viewer );
|
||||
QPixmap pix = m_viewer->grab();
|
||||
image = pix.toImage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user