QNSWindowDelegate was not handling windowShouldClose, which is how you can tell Cocoa that your window should not close if the close button is pressed. This change moves the close handling from windowWillClose to windowShouldClose, and adds an optional "accepted" pointer to QWindowSystemInterface::handleCloseEvent so that QNSWindowDelegate can return a true/false value for whether the window should actually close Task-number: QTBUG-28965 Change-Id: I67c6296ad42cbeeb71413e05411467d4e558adb4 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> |
||
|---|---|---|
| .. | ||
| accessible | ||
| animation | ||
| doc | ||
| image | ||
| itemmodels | ||
| kernel | ||
| math3d | ||
| opengl | ||
| painting | ||
| text | ||
| util | ||
| Qt5GuiConfigExtras.cmake.in | ||
| QtGui.dynlist | ||
| gui.pro | ||