summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-05-06 00:18:33 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-08-12 11:27:17 +0200
commitc2b43bc93d81ed2e768501e680430a1df22166b6 (patch)
tree921dc43ddedf6d0c06c7f4e5b3498c7043d8d828 /tests/auto/widgets
parent1c916f6f1a44b5868a296bfa91dc59f5be97b92f (diff)
Move QMenu handling from page to view
[ChangeLog] createStandardContextMenu is moved from QWebEnginePage to QWebEngineView Change-Id: I08a7a1f7e55ca7396547006523cdec250a3ad117 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/spellchecking/tst_spellchecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/spellchecking/tst_spellchecking.cpp b/tests/auto/widgets/spellchecking/tst_spellchecking.cpp
index 801e2a76c..483c673aa 100644
--- a/tests/auto/widgets/spellchecking/tst_spellchecking.cpp
+++ b/tests/auto/widgets/spellchecking/tst_spellchecking.cpp
@@ -58,7 +58,7 @@ signals:
protected:
void contextMenuEvent(QContextMenuEvent *)
{
- m_data = page()->contextMenuData();
+ m_data = contextMenuData();
emit menuReady();
}
private: