Commit 1f77d470 authored by Jüri Valdmann's avatar Jüri Valdmann
Browse files

Fix crash on dynamic_cast in global event filter


Installing an event filter on QApplication which uses dynamic_cast will crash
the application since QtWebEngine is sending QTimerEvents to classes without
RTTI information.

Fix by

  1. Moving the QObject part of MessagePumpForUIQt into api/ as a private class.
  2. Using QTimer directly in WebEngineSettings, without subclassing.

Fixes: QTBUG-73833
Change-Id: Ida73006a4fef76637c964f8f05468adcc4a190ce
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent 837347e1
Branches
Tags
No related merge requests found
Showing with 175 additions and 66 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment