mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#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:
@@ -31,6 +31,7 @@ namespace caf
|
||||
}
|
||||
|
||||
|
||||
class QMdiArea;
|
||||
class QMdiSubWindow;
|
||||
|
||||
|
||||
@@ -72,6 +73,9 @@ public:
|
||||
void setBlockSlotSubWindowActivated(bool block);
|
||||
bool blockSlotSubWindowActivated() const;
|
||||
|
||||
protected:
|
||||
void removeViewerFromMdiArea(QMdiArea* mdiArea, QWidget* viewer);
|
||||
|
||||
protected slots:
|
||||
void slotDockWidgetToggleViewActionTriggered();
|
||||
void addViewerToMdiArea(QMdiArea* mdiArea, QWidget* viewer, const QPoint& subWindowPos, const QSize& subWindowSize);
|
||||
|
||||
Reference in New Issue
Block a user