summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-01-26 08:29:49 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-01-26 08:29:49 (GMT)
commitb6a2ce7b02951aab761ddc8ffa022bbd8f19fa83 (patch)
tree1d7156448c12502854f13f8d51b56db972a67725 /src
parent0411ecc38e6c48263de3e5fef2bd8ba3adf61d97 (diff)
downloadQt-b6a2ce7b02951aab761ddc8ffa022bbd8f19fa83.zip
Qt-b6a2ce7b02951aab761ddc8ffa022bbd8f19fa83.tar.gz
Qt-b6a2ce7b02951aab761ddc8ffa022bbd8f19fa83.tar.bz2
Carbon: fix build breakage on carbon
Just forgot an ifdef...
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qwidget_mac.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm
index d52ac77..20c0cde 100644
--- a/src/gui/kernel/qwidget_mac.mm
+++ b/src/gui/kernel/qwidget_mac.mm
@@ -3463,7 +3463,9 @@ void QWidgetPrivate::hide_sys()
QMacCocoaAutoReleasePool pool;
if(q->isWindow()) {
+#ifdef QT_MAC_USE_COCOA
setSubWindowStacking(false);
+#endif
OSWindowRef window = qt_mac_window_for(q);
if(qt_mac_is_macsheet(q)) {
#ifndef QT_MAC_USE_COCOA