Hello! This warning is produced, when a widget which already has a parent, is passed to addWidget() method of WContainerWidget.
Note, that addWidget is called implicitly when WContainerWidget is passed as "parent" argument to constructor of widget. Possible scenario: WText text = new WText(this); container->addWidget(text); // <- reparenting On Mon, Oct 29, 2012 at 9:10 PM, Stefan Ruppert <s...@myarm.com> wrote: > Hi, > > I have a complex web application which uses many WContainerWidgets. Now > I try to polish it and found the two "[warning] "WContainerWidget: > addWidget(): reparenting widget" log messages. But I don't know how to > match these warnings with my code. > > Any idea? > > Regards, > Stefan > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest