diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-07-12 16:15:08 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-20 09:21:44 +0000 |
commit | 8f7ad43d9da54f7baba3de5093f11235158f8066 (patch) | |
tree | 4e76a3a20cf58832bba2f7015bd24e45ecb32d99 /tests | |
parent | 4c7b47a3b46594fa54dda993eebc08c74d1b3a3c (diff) |
Various clean-ups around QWebEngineView
Change-Id: I16f27054871f63526946101e07cb0dcf4aa3b390
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit e4bb4b8bc443fa78c0cd4509cc8ec1251e8296ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/spellchecking/tst_spellchecking.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/widgets/spellchecking/tst_spellchecking.cpp b/tests/auto/widgets/spellchecking/tst_spellchecking.cpp index ab79ff6cb..7263904ce 100644 --- a/tests/auto/widgets/spellchecking/tst_spellchecking.cpp +++ b/tests/auto/widgets/spellchecking/tst_spellchecking.cpp @@ -28,8 +28,9 @@ #include <util.h> #include <QtTest/QtTest> -#include <QtWebEngineCore/qwebengineprofile.h> +#include <QtWebEngineCore/qwebenginecontextmenurequest.h> #include <QtWebEngineCore/qwebenginepage.h> +#include <QtWebEngineCore/qwebengineprofile.h> #include <QtWebEngineCore/qwebenginesettings.h> #include <QtWebEngineWidgets/qwebengineview.h> @@ -52,7 +53,7 @@ signals: void menuReady(); protected: - void contextMenuEvent(QContextMenuEvent *) + void contextMenuEvent(QContextMenuEvent *) override { m_data = lastContextMenuRequest(); emit menuReady(); |