diff options
author | David Boddie <david.boddie@nokia.com> | 2011-05-24 17:07:02 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-05-24 17:07:02 (GMT) |
commit | 16b11332931caef92bd103d854fac4dff3ff771e (patch) | |
tree | c1e33e0ad2857730ecd909341f8a3acd67dc7858 /src | |
parent | 1bd0fc3b210788788b779c0fac9884df6454abd2 (diff) | |
download | Qt-16b11332931caef92bd103d854fac4dff3ff771e.zip Qt-16b11332931caef92bd103d854fac4dff3ff771e.tar.gz Qt-16b11332931caef92bd103d854fac4dff3ff771e.tar.bz2 |
Fixed breakage caused by b727e5b95c1f0bd308b228fcf0445b42847ae583.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qcocoasharedwindowmethods_mac_p.h | 13 |
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 c44c8f1..ee1115b 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 |