Fix #30 Destroying a report engine does not destroy all it's windows and lead to crash

This commit is contained in:
Arin Alexander
2016-04-21 17:53:31 +03:00
parent 2e4ee6ca05
commit fab352c81c
2 changed files with 21 additions and 8 deletions
+2
View File
@@ -46,6 +46,7 @@ namespace LimeReport{
class PageDesignIntf;
class PrintRange;
class ReportDesignWindow;
//TODO: Add on render callback
@@ -156,6 +157,7 @@ private:
QMainWindow* m_activePreview;
QIcon m_previewWindowIcon;
QString m_previewWindowTitle;
QPointer<ReportDesignWindow> m_designerWindow;
};
}