summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-03-09 11:20:21 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-03-09 12:40:44 (GMT)
commit0edda17e2edb4da968b026ac6658f740323d6dd5 (patch)
treed53539df184e5b7f0204138bdb99e42eb91f7554 /src/gui
parent53795b645d82afc30a0527523e3fad2a763779e2 (diff)
downloadQt-0edda17e2edb4da968b026ac6658f740323d6dd5.zip
Qt-0edda17e2edb4da968b026ac6658f740323d6dd5.tar.gz
Qt-0edda17e2edb4da968b026ac6658f740323d6dd5.tar.bz2
Revert 12b6987031be9faee3886d7623888feb4e1762af
The CI system found lots of focus-related regressions, this is probably the offending change. (I can't reproduce the regressions locally.)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qcocoaview_mac.mm7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/kernel/qcocoaview_mac.mm b/src/gui/kernel/qcocoaview_mac.mm
index 6261429..f7cb21f 100644
--- a/src/gui/kernel/qcocoaview_mac.mm
+++ b/src/gui/kernel/qcocoaview_mac.mm
@@ -1047,13 +1047,6 @@ static int qCocoaViewCount = 0;
return YES;
}
-- (BOOL)becomeFirstResponder
-{
- if (QApplication::focusWidget() == 0)
- QApplicationPrivate::setFocusWidget([self QT_MANGLE_NAMESPACE(qt_qwidget)], Qt::OtherFocusReason);
- return YES;
-}
-
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal
{
Q_UNUSED(isLocal);