summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Sorvig <morten.sorvig@nokia.com>2011-05-25 09:08:09 +0200
committerMorten Sorvig <morten.sorvig@nokia.com>2011-05-25 09:08:09 +0200
commit1be4b50bacda6301f64f62e796562a91f03bc199 (patch)
treecef8cc20b1108171de998a3cf8e4ddb356419fa0
parent0056cc0ced64c842d94cefb9e4d0d101f4106706 (diff)
Compile.
Change 0748751c brought in an extra copy of this function.
-rw-r--r--src/gui/kernel/qcocoasharedwindowmethods_mac_p.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
index e2539aaaf1..f5a93d98d2 100644
--- a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
+++ b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
@@ -199,19 +199,6 @@ QT_END_NAMESPACE
[super setInitialFirstResponder:view];
}
-- (void)setInitialFirstResponder:(NSView *)view
-{
- // This method is called the first time the window is placed on screen and
- // is the earliest point in time we can connect OpenGL contexts to NSViews.
- QWidget *qwidget = [[QT_MANGLE_NAMESPACE(QCocoaWindowDelegate) sharedDelegate] qt_qwidgetForWindow:self];
- if (qwidget) {
- qt_event_request_window_change(qwidget);
- qt_mac_send_posted_gl_updates(qwidget);
- }
-
- [super setInitialFirstResponder:view];
-}
-
- (BOOL)makeFirstResponder:(NSResponder *)responder
{
// For some reason Cocoa wants to flip the first responder