QPrintPreviewDialog close button does not work on Mac OSX
I am using the QPrintPreviewDialog with Qt5.1 on Mac OSX. The system menu buttons appear but the close and minimize buttons are not usable, only the maximize button works.
this is how I open the dialog
QPrintPreviewDialog preview(&printer, this, Qt::WindowFullscreenButtonHint|Qt::WindowSystemMenuHint|Qt::WindowMinMaxButtonsHint|Qt::WindowCloseButtonHint);
I can't think of any other hints that might help, are there any?
I end up with a dialog I can't dismiss :-(.
has anyone else seen this, is my code wrong, do I need to do anything else?
I would appreciate any suggestions.