Hi Rob,

Sorry for the late reply, it's been a bit busy around here after the 4.4.0 beta.

[EMAIL PROTECTED] wrote:
There is an issue with the deferred delete that effects the combo box.
Put a combo box on a dialog, and construct the dialog from an event handler. Set
and reset the editable property. This will create a line edit that is then
marked for deferred deletion at line 1563 of qcombobox.cpp in void
QComboBox::setEditable(bool editable). The problem is that the line edit
never gets deleted because we are in an event handler, so it stays on the
dialog box. (Perhaps setting it invisible would help???) I've replicated it
on 32-bit Windows Vista.

This code works in Qt 4.3.4. It also works if the combo box is on the
main window, which made initial replication of the problem in a simple program
tricky!

I've tried your code on Windows XP with both 4.3.4 and 4.4, and I see the exact same behavior in both versions (the line edit is not deleted and covers the combobox). I'll have a colleague of mine try on Vista as well, but at first glance, it looks like both 4.3.4 and 4.4 are doing the right thing.

--
Bradley T. Hughes - bhughes at trolltech.com
Trolltech ASA - Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway

To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]

Reply via email to