X-Git-Url: https://vaikene.ee/gitweb/pswgen10.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGUI%2Fgui.cpp;h=706522b1ef44aa30a19d6620b287d70c7dedda8f;hb=25d800db07942aadab4140a4ed05196e7f4dcd12;hp=23a3c881c2591c82d5f3a4f81a0c2051e9d9672f;hpb=54f282ee6797c05e60993632218875092362bdf7;p=evaf
diff --git a/src/apps/PswGen/GUI/gui.cpp b/src/apps/PswGen/GUI/gui.cpp
index 23a3c88..706522b 100644
--- a/src/apps/PswGen/GUI/gui.cpp
+++ b/src/apps/PswGen/GUI/gui.cpp
@@ -27,6 +27,7 @@
#include
#include
#include
+#include
#include
@@ -74,8 +75,8 @@ bool Module::init(QString const & args)
SdiWindow::iSdiWindow * win = evafQueryInterface("iSdiWindow");
EVAF_TEST_X(win, "No iSdiWindow interface");
- QWidget * masterWidget = new QWidget;
- win->addWidget(masterWidget);
+ Gui::Window * masterWidget = new Gui::Window;
+ win->addWindow(masterWidget);
QVBoxLayout * v = new QVBoxLayout;
masterWidget->setLayout(v);