From bbf6aeccbd2054063c2c2bfe080b37ea9d993462 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 19 Feb 2010 11:26:17 +0000 Subject: Disabled scroll on comboboxes. (It now sends the scroll event to its parent.) --- client/widgets/combobox.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/widgets/combobox.cc') diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc index bf25475..59f7604 100644 --- a/client/widgets/combobox.cc +++ b/client/widgets/combobox.cc @@ -30,6 +30,7 @@ #include #include #include +#include #include "common.h" @@ -230,3 +231,8 @@ bool ComboBox::eventFilter(QObject *obj, QEvent *event) return QObject::eventFilter(obj, event); } + +void ComboBox::wheelEvent(QWheelEvent *e) +{ + QCoreApplication::sendEvent(nativeParentWidget(), e); +} -- cgit v1.2.3