diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-07-12 16:15:08 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-07-13 08:22:28 +0200 |
commit | e4bb4b8bc443fa78c0cd4509cc8ec1251e8296ae (patch) | |
tree | 34e4c501824f718643ace63b31cb9bf7b89a437e /tests/auto | |
parent | 5be01d2ffd3dbc2b023dd1ffb75d376019ee934e (diff) | |
download | qtwebengine-e4bb4b8bc443fa78c0cd4509cc8ec1251e8296ae.tar.gz |
Various clean-ups around QWebEngineView
Pick-to: 6.2
Change-Id: I16f27054871f63526946101e07cb0dcf4aa3b390
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto')
-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(); |