summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-16 15:06:16 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-04-16 15:18:35 (GMT)
commit6fc56f2da1cb4d15e48ed3458e502eea3fed3903 (patch)
treed787d7ecb6e272378a0d497cb20805ba86d3d211
parent0aa3203fa13bfbc42e77488765023832934dd36b (diff)
downloadQt-6fc56f2da1cb4d15e48ed3458e502eea3fed3903.zip
Qt-6fc56f2da1cb4d15e48ed3458e502eea3fed3903.tar.gz
Qt-6fc56f2da1cb4d15e48ed3458e502eea3fed3903.tar.bz2
Remove some warnings
These aren't used in Carbon, so don't reference them.
-rw-r--r--src/gui/kernel/qwidget_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm
index 827e098..fc34f61 100644
--- a/src/gui/kernel/qwidget_mac.mm
+++ b/src/gui/kernel/qwidget_mac.mm
@@ -2847,10 +2847,10 @@ void QWidgetPrivate::updateSystemBackground()
void QWidgetPrivate::setCursor_sys(const QCursor &)
{
- Q_Q(QWidget);
#ifndef QT_MAC_USE_COCOA
qt_mac_update_cursor();
#else
+ Q_Q(QWidget);
if (q->testAttribute(Qt::WA_WState_Created)) {
[qt_mac_window_for(q) invalidateCursorRectsForView:qt_mac_nativeview_for(q)];
}
@@ -2859,10 +2859,10 @@ void QWidgetPrivate::setCursor_sys(const QCursor &)
void QWidgetPrivate::unsetCursor_sys()
{
- Q_Q(QWidget);
#ifndef QT_MAC_USE_COCOA
qt_mac_update_cursor();
#else
+ Q_Q(QWidget);
if (q->testAttribute(Qt::WA_WState_Created)) {
[qt_mac_window_for(q) invalidateCursorRectsForView:qt_mac_nativeview_for(q)];
}