summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qcombobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qcombobox.cpp')
-rw-r--r--src/widgets/widgets/qcombobox.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/widgets/qcombobox.cpp b/src/widgets/widgets/qcombobox.cpp
index 2a1742b652..deffad432f 100644
--- a/src/widgets/widgets/qcombobox.cpp
+++ b/src/widgets/widgets/qcombobox.cpp
@@ -3244,6 +3244,9 @@ void QComboBox::keyReleaseEvent(QKeyEvent *e)
#ifndef QT_NO_WHEELEVENT
void QComboBox::wheelEvent(QWheelEvent *e)
{
+#ifdef Q_OS_DARWIN
+ Q_UNUSED(e);
+#else
Q_D(QComboBox);
if (!d->viewContainer()->isVisible()) {
int newIndex = currentIndex();
@@ -3264,6 +3267,7 @@ void QComboBox::wheelEvent(QWheelEvent *e)
}
e->accept();
}
+#endif
}
#endif