workaround for messagebox modality bug
Is there a quick way to set the modality of all QMessageBox objects? The docs say WindowsModal is the default with a parent, but in testing this appears not to be correct -- they are always ApplicationModal. I need to call setModality every time -- which is a bit inconvenient since I can't use the "question",etc. static members then.
Re: workaround for messagebox modality bug
Quote:
Originally Posted by
mortoray
Is there a quick way to set the modality of all QMessageBox objects?
Sure, write your own Class, let it inherit from QMessageBox and then use something like MessageBox instead QMessageBox.