id = idCounter++;
parentWindow = NULL;
+//not using this anymore
+#if 0
if (document)
{
if (document->getLayerList())
// Link the graphic view to the block widget
document->getBlockList()->addListener(graphicView);
}
+#endif
//hm.
setFocus(/*Qt::StrongFocus*/);
*/
MDIWindow::~MDIWindow()
{
+#if 0
if (document->getLayerList())
document->getLayerList()->removeListener(graphicView);
if (document->getBlockList())
document->getBlockList()->removeListener(graphicView);
+#endif
if (owner && document)
delete document;