Skip to content

Commit 4ba8bab

Browse files
author
Andy Shaw
committed
Fix Carbon build
Change-Id: Iae9445d1777ffced3d998e3f9a0a57117fa8d192 Reviewed-by: Morten Johan Sørvig <[email protected]>
1 parent e50aa22 commit 4ba8bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/kernel/qwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10015,7 +10015,7 @@ QWidget *QWidgetPrivate::childAtRecursiveHelper(const QPoint &p, bool ignoreChil
1001510015

1001610016
// Map the point 'p' from parent coordinates to child coordinates.
1001710017
QPoint childPoint = p;
10018-
#ifdef Q_WS_MAC
10018+
#if defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA)
1001910019
// 'includeFrame' is true if the child's parent is a top-level QMainWindow with an unified tool bar.
1002010020
// An unified tool bar on the Mac lives outside QMainWindow's geometry(), so a normal
1002110021
// QWidget::mapFromParent won't do the trick.

0 commit comments

Comments
 (0)