X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmainapp%2Fmdiwindow.cpp;h=02b1d43997d3630d585a5614e5b1abed797f9b4f;hb=e5a77a32dbe17d9534d3099f1fd3fdacba199516;hp=ee6cc3fe009cef478b21250225c836f19c9b97a8;hpb=52b41ea9bcb03acb96393b36fe29f27ca0163565;p=architektonas diff --git a/src/mainapp/mdiwindow.cpp b/src/mainapp/mdiwindow.cpp index ee6cc3f..02b1d43 100644 --- a/src/mainapp/mdiwindow.cpp +++ b/src/mainapp/mdiwindow.cpp @@ -3,7 +3,9 @@ // Part of the Architektonas Project // Originally part of QCad Community Edition by Andrew Mustun // Extensively rewritten and refactored by James L. Hammons -// (C) 2010 Underground Software +// Portions copyright (C) 2001-2003 RibbonSoft +// Copyright (C) 2010 Underground Software +// See the README and GPLv2 files for licensing and warranty information // // JLH = James L. Hammons // @@ -42,6 +44,8 @@ MDIWindow::MDIWindow(RS_Document * doc, QWidget * parent, const char * name/*= N id = idCounter++; parentWindow = NULL; +//not using this anymore +#if 0 if (document) { if (document->getLayerList()) @@ -52,6 +56,7 @@ MDIWindow::MDIWindow(RS_Document * doc, QWidget * parent, const char * name/*= N // Link the graphic view to the block widget document->getBlockList()->addListener(graphicView); } +#endif //hm. setFocus(/*Qt::StrongFocus*/); @@ -64,11 +69,13 @@ MDIWindow::MDIWindow(RS_Document * doc, QWidget * parent, const char * name/*= N */ MDIWindow::~MDIWindow() { +#if 0 if (document->getLayerList()) document->getLayerList()->removeListener(graphicView); if (document->getBlockList()) document->getBlockList()->removeListener(graphicView); +#endif if (owner && document) delete document;