diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2019-10-08 16:25:08 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-10-10 19:08:09 +0000 |
commit | 65fcd8524da628c99e8cd28f983f0c17fbe157f0 (patch) | |
tree | 0ffaac14d060a815417bee4e077920e1cf2916f3 /src/concurrent/qtconcurrentthreadengine.cpp | |
parent | f1dd6addda908185f497d299d706b88977dea858 (diff) |
QAbstractScrollArea: when used as a popup, apply regular popup behavior
QWidget::mousePressEvent is documented to implement the closing of
popups if the widget is a popup. QAbstractScrollArea is one of the
QWidget subclasses that might be used as a popup as well, so instead of
just ignoring mousePressEvents, pass the event on to the QWidget
implementation for regular popup handling.
Change-Id: I05f77a334945f3c167f729f30bc022599230379b
Fixes: QTBUG-60885
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.cpp')
0 files changed, 0 insertions, 0 deletions