mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
Revert "RiuSummaryPlot: Fix memory leak by integrating into Qt's parent-child system."
This reverts commit e6746cd819.
This commit is contained in:
1 parent
88cbcb5be0
commit
da741b16ac
4 files changed
+4
-5
No files matched your search
@@ -41,8 +41,7 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuSummaryPlot::RiuSummaryPlot( RimSummaryPlot* plot, QObject* parent )
|
||||
: QObject( parent )
|
||||
RiuSummaryPlot::RiuSummaryPlot( RimSummaryPlot* plot )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class RiuSummaryPlot : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
RiuSummaryPlot( RimSummaryPlot* plot, QObject* parent = nullptr );
|
||||
RiuSummaryPlot( RimSummaryPlot* plot );
|
||||
~RiuSummaryPlot() override;
|
||||
|
||||
virtual void
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuSummaryQtChartsPlot::RiuSummaryQtChartsPlot( RimSummaryPlot* plot, QWidget* parent )
|
||||
: RiuSummaryPlot( plot, parent )
|
||||
: RiuSummaryPlot( plot )
|
||||
{
|
||||
m_plotWidget = new RiuQtChartsPlotWidget( plot, parent, new RimEnsembleCurveInfoTextProvider );
|
||||
m_plotWidget->setContextMenuPolicy( Qt::CustomContextMenu );
|
||||
|
||||
@@ -116,7 +116,7 @@ private:
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuSummaryQwtPlot::RiuSummaryQwtPlot( RimSummaryPlot* plot, QWidget* parent /*= nullptr*/ )
|
||||
: RiuSummaryPlot( plot, parent )
|
||||
: RiuSummaryPlot( plot )
|
||||
{
|
||||
m_plotWidget = new RiuQwtPlotWidget( plot, parent );
|
||||
m_plotWidget->setContextMenuPolicy( Qt::CustomContextMenu );
|
||||
|
||||
Reference in new issue
Block a user