summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-11-17 07:14:01 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2015-11-17 07:14:16 +0100
commit17dc773221c402308ddf15bcdb622b00ab7a95c3 (patch)
tree2e0b5a076b6b51e5fb77aec0ce379227ef681f3d /src/widgets/widgets
parent99d061ffd5ea9fc52d96b92cdf3dce93685b4205 (diff)
parent9daef8a54c32162a50b0f558dac829333165618f (diff)
Merge remote-tracking branch 'origin/5.5' into 5.6
Diffstat (limited to 'src/widgets/widgets')
-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 aab28bf18a..ed3af90532 100644
--- a/src/widgets/widgets/qcombobox.cpp
+++ b/src/widgets/widgets/qcombobox.cpp
@@ -3242,6 +3242,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();
@@ -3262,6 +3265,7 @@ void QComboBox::wheelEvent(QWheelEvent *e)
}
e->accept();
}
+#endif
}
#endif