--- a/ui/qt/window.cpp Mon Aug 25 17:27:29 2014 +0200 +++ b/ui/qt/window.cpp Thu Aug 28 16:34:09 2014 +0200 @@ -32,6 +32,7 @@ #include "window.h" #include "menu.h" #include "toolbar.h" +#include "container.h" UiObject* ui_window(char *title, void *window_data) { UcxMempool *mp = ucx_mempool_new(256); @@ -48,6 +49,8 @@ QToolBar *toolbar = ui_create_toolbar(obj); window->addToolBar(Qt::TopToolBarArea, toolbar); + obj->container = new UiWindowContainer(window); + obj->widget = window; return obj; }