From: Enar Väikene Date: Tue, 27 Sep 2011 07:48:57 +0000 (+0300) Subject: Changed the way how the main window is used. X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=commitdiff_plain;h=1cac301bb12de664bd7e7ec59b78e7dfaf04f6d1;hp=1cac301bb12de664bd7e7ec59b78e7dfaf04f6d1;p=evaf Changed the way how the main window is used. * The main window widget is no more accessable from other modules * Modules should use addWidget() and addLayout() methods to add widgets and layouts to the main window. * Any widgets and layouts added to the main window are deleted in the done() method. Fixes the issue where the main window widget tried to delete its children and failed, because modules that created them were already unloaded. ---