Add a comment to highlight QSpontaneKeyEvent usage in QtWebEngine
- QtWebEngine event handling requires forwarding events as spontaneous. - Impersonated QSpontaneKeyEvent in QtWebEngine to handle such cases. - Added comment to explain QSpontaneKeyEvent usage in QtWebEngine. Tasks: QTBUG-118398 Change-Id: I0ef951802727065bed660210e407a5a830956adf Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
2b9d021ba5
commit
c0d6b22a39
@ -354,6 +354,8 @@ private:
|
|||||||
friend class QApplication;
|
friend class QApplication;
|
||||||
friend class QGraphicsScenePrivate;
|
friend class QGraphicsScenePrivate;
|
||||||
// from QtTest:
|
// from QtTest:
|
||||||
|
// QtWebEngine event handling requires forwarding events as spontaneous.
|
||||||
|
// Impersonated QSpontaneKeyEvent in QtWebEngine to handle such cases.
|
||||||
friend class QSpontaneKeyEvent;
|
friend class QSpontaneKeyEvent;
|
||||||
// needs this:
|
// needs this:
|
||||||
Q_ALWAYS_INLINE
|
Q_ALWAYS_INLINE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user