2.3.2? Hmm... you should have said so in the beginning, how would we know this?

In the constructor of a widget you can pass a set of flags similar to the ones I have mentioned in my earlier post, only that the enum identifiers are different. I can't see anything about a close button there but my guess is that if you manually pass the flags for buttons you wish to be there, others won't be set so the close button should vanish.

Here is a link to the docs: http://doc.trolltech.com/2.3/qt.html#WidgetFlags


By the way, I suggest you switch to some newer Qt version. 2.3 is more than 10 years old.