[Qt-interest] destroyed SLOT
Willy P
willy.lists at gmail.com
Wed Oct 21 09:17:44 CEST 2009
Is there *ever* a reason why handleClose() would not be called here:
settingsWidget_ = new QWidget;
QObject::connect( settingsWidget_, SIGNAL(destroyed()), this,
SLOT(handleClose()));
delete settingsWidget_;
A lot of my objects have settingsWidgets_'s and in all cases but one
handleClose() gets called when they get deleted. I'm at a bit of a
loss. How should I go about debugging this? I've tried
dumpObjectInfo() but it doesn't print anything (even in debug) and the
connect call returns true. Any thoughts would be great. I'm on hour
10 of this problem :)
Thanks,
-Willy
More information about the Qt-interest-old
mailing list