mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
#13813 Remove duplicated snapshotWindowContent overrides that replicate base class behavior
This commit is contained in:
1 parent
5921c44be0
commit
ba1055fbc4
30 files changed
+31
-254
No files matched your search
@@ -637,22 +637,6 @@ void RimHistogramPlot::updateStackedCurveData()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QImage RimHistogramPlot::snapshotWindowContent()
|
||||
{
|
||||
QImage image;
|
||||
|
||||
if ( plotWidget() )
|
||||
{
|
||||
QPixmap pix = plotWidget()->grab();
|
||||
image = pix.toImage();
|
||||
}
|
||||
|
||||
return image;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -181,8 +181,6 @@ protected:
|
||||
|
||||
void handleDroppedObjects( const std::vector<caf::PdmObjectHandle*>& objects ) override;
|
||||
|
||||
QImage snapshotWindowContent() override;
|
||||
|
||||
void initAfterRead() override;
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in new issue
Block a user