summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoawindow.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2016-10-20 14:50:19 +0200
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-10-21 14:53:50 +0000
commit1b8bc2c97f60c172021a36fed15184bb65eb1ff9 (patch)
tree760ff47229376d2b6bd2705e2510f3e9145b2875 /src/plugins/platforms/cocoa/qcocoawindow.h
parentbe911de2592845160fa2b76dd14d9d71ef386f09 (diff)
macOS: Remove unneeded argument to QCocoaWindow::recreateWindow()
The parent window is available through QPlatformWindow::parent(). Change-Id: I2436c001ec18f5abba99db3061acb0edcd8035a2 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoawindow.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoawindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h
index bd7b23bc1b..f757996cf4 100644
--- a/src/plugins/platforms/cocoa/qcocoawindow.h
+++ b/src/plugins/platforms/cocoa/qcocoawindow.h
@@ -238,7 +238,7 @@ public:
static QPoint bottomLeftClippedByNSWindowOffsetStatic(QWindow *window);
QPoint bottomLeftClippedByNSWindowOffset() const;
protected:
- void recreateWindow(const QPlatformWindow *parentWindow);
+ void recreateWindow();
QCocoaNSWindow *createNSWindow();
void setNSWindow(QCocoaNSWindow *window);