summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwidget_mac.mm')
-rw-r--r--src/gui/kernel/qwidget_mac.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm
index b3450ab..03f496e 100644
--- a/src/gui/kernel/qwidget_mac.mm
+++ b/src/gui/kernel/qwidget_mac.mm
@@ -4981,6 +4981,7 @@ void QWidgetPrivate::registerDropSite(bool on)
void QWidgetPrivate::registerTouchWindow(bool enable)
{
+ Q_UNUSED(enable);
#ifdef QT_MAC_USE_COCOA
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
if (QSysInfo::MacintoshVersion < QSysInfo::MV_10_6)
@@ -5007,8 +5008,6 @@ void QWidgetPrivate::registerTouchWindow(bool enable)
[view setAcceptsTouchEvents:NO];
}
}
-#else
- Q_UNUSED(on);
#endif
#endif
}