summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoaintegration.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-09-15 10:08:29 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-09-15 17:49:34 +0200
commita6279b74e222451510dda19e2c43d22202c4fd67 (patch)
treed471affd8bd02bac392065cea0fa4f31e2b2c0c2 /src/plugins/platforms/cocoa/qcocoaintegration.h
parent6880b6319c833eef4911be603abd14d3537224f1 (diff)
macOS: Remove duplicate code closing popups on window interaction
After 70b94eea10d7af83cced09296755a8af28e167b5, all popups are closed on mouseDown within the window frame. As with native applications, the popup is closed on press, and before the press is delivered to the frame (ie before the jewel is shown as depressed). The previous notification handlers for window moving, minimizing, and closing can now be removed, together with the alternative implementation of closePopups that relies on the Cocoa plugin maintaining its own popup stack. This reverts 048e66a11d87845eaba9e8cf23de3fb4acac924d. Task-number: QTBUG-96450 Task-number: QTBUG-77833 Change-Id: I165f3caa64bf9a7b4c4d5455ca33e87029d75f73 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaintegration.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoaintegration.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaintegration.h b/src/plugins/platforms/cocoa/qcocoaintegration.h
index caf47e38d3..ffd1bc5b6e 100644
--- a/src/plugins/platforms/cocoa/qcocoaintegration.h
+++ b/src/plugins/platforms/cocoa/qcocoaintegration.h
@@ -134,8 +134,6 @@ public:
void beep() const override;
void quit() const override;
- void closePopups(QWindow *forWindow = nullptr);
-
private Q_SLOTS:
void focusWindowChanged(QWindow *);