Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
cocoa OSX 10.6 10.8
Description
If window flags for close button hint and/or minimize button hint are set to modal dialog it still never enables these buttons.
int main(int argc, char *argv[]) { QApplication mainApp(argc, argv); MainWindow *mainWindow = new MainWindow; mainWindow->show(); QDialog *dialog = new QDialog(mainWindow); // QMainWindow class is parent dialog->setWindowFlags(Qt::Dialog|Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint); dialog->exec(); return mainApp.exec(); }
Attachments
For Gerrit Dashboard: QTBUG-34645 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
70953,3 | Fix the window flags for Cocoa windows | stable | qt/qtbase | Status: ABANDONED | +1 | 0 |
71388,2 | Fix the window flags for Cocoa windows | release | qt/qtbase | Status: MERGED | +2 | 0 |