#4312 Move handleMdiWindowClosed call from widget destructors to MdiSubWindow closeEvent

* This way the mdi window still exists at the time of removal and we can handle the removal orderly
This commit is contained in:
Gaute Lindkvist committed 2019-04-16 12:14:54 +02:00
1 parent e41f8ec149
commit e0bbda85d9
14 files changed
+59 -98

No files matched your search

+1 -5
View File
@@ -92,11 +92,7 @@ RiuQwtPlot::~RiuQwtPlot()
if (ownerPlotDefinition())
{
ownerPlotDefinition()->detachAllCurves();
}
if (ownerViewWindow())
{
ownerViewWindow()->handleMdiWindowClosed();
}
}
}
//--------------------------------------------------------------------------------------------------