]> vaikene.ee Git - evaf/commit
Changed the way how the main window is used.
authorEnar Väikene <enar.vaikene@mt.com>
Tue, 27 Sep 2011 07:48:57 +0000 (10:48 +0300)
committerEnar Väikene <enar.vaikene@mt.com>
Tue, 27 Sep 2011 07:48:57 +0000 (10:48 +0300)
commit1cac301bb12de664bd7e7ec59b78e7dfaf04f6d1
treeb92aa7f0b3b61e9050073527133e6263d0a88caf
parentfc85345abea9becdd9aedfb1e0cf66d8843528fd
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.
src/apps/PswGen/GUI/gui.cpp
src/apps/PswGen/GUI/version.h
src/plugins/SdiWindow/isdiwindow.h
src/plugins/SdiWindow/sdiwindow.cpp
src/plugins/SdiWindow/sdiwindow.h
src/plugins/SdiWindow/version.h