diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-02-17 15:12:40 -0800 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-02-24 19:51:54 +0000 |
commit | e6d23860f08f59caa131bae8ca90f9e36e4dc033 (patch) | |
tree | 0e021c94139faebaa07b35cef89f8ed5672457d5 /src/corelib/tools/qvarlengtharray.qdoc | |
parent | e6234535929c67e7fbfa1ad7ce88f37df0b68d45 (diff) |
QApplication: Remove code duplication
We always send mouse move events through the application event filters
even if the widget has no mouse tracking enabled. This code portion is
an almost verbatim copy of QCoreApplicationPrivate::sendThroughApplicationEventFilters().
The only difference is that previously the filter and the widget had
to be in the same thread. Now, we compare the filter's thread to the
application's. This is without consequence since widgets must live in
the application thread.
Change-Id: Ifee9c041e06d80ea0c2d2a947231e58ee4dfa24d
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib/tools/qvarlengtharray.qdoc')
0 files changed, 0 insertions, 0 deletions