[Interest] Prevent QWidgetWindow from appending "Window" to objectNames

Bo Thorsen bthorsen at ics.com
Wed Oct 30 08:48:08 CET 2013

Den 29-10-2013 18:36, Philipp Kursawe skrev:
> That is really anyoing. When I set a widgets objectName I expect it to
> not modify this name.
> But QWidgetWindow connects itself to the objectNameChanged signal
> connect(m_widget, &QObject::objectNameChanged, this, &QWidgetWindow::updateObjectName);
> to modify it. I'm actually surprised this does not lead to a circular call.
> So, how can I prevent that? I want to have verbatim object names.

disconnect() ?

Bo Thorsen, European Engineering Manager, ICS
Integrated Computer Solutions. Delivering World-Class Applications

More information about the Interest mailing list