summaryrefslogtreecommitdiffstats
path: root/tests/quicktestbrowser/BrowserWindow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/quicktestbrowser/BrowserWindow.qml')
-rw-r--r--tests/quicktestbrowser/BrowserWindow.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/quicktestbrowser/BrowserWindow.qml b/tests/quicktestbrowser/BrowserWindow.qml
index 9312ed20..2c8e9e1e 100644
--- a/tests/quicktestbrowser/BrowserWindow.qml
+++ b/tests/quicktestbrowser/BrowserWindow.qml
@@ -161,10 +161,10 @@ ApplicationWindow {
id: backHistoryMenu
Instantiator {
- model: currentWebView && currentWebView.experimental.navigationHistory.backItems
+ model: currentWebView && currentWebView.navigationHistory.backItems
MenuItem {
text: model.title
- onTriggered: currentWebView.experimental.goBackTo(index)
+ onTriggered: currentWebView.goBackOrForward(model.offset)
}
onObjectAdded: backHistoryMenu.insertItem(index, object)
@@ -176,10 +176,10 @@ ApplicationWindow {
id: forwardHistoryMenu
Instantiator {
- model: currentWebView && currentWebView.experimental.navigationHistory.forwardItems
+ model: currentWebView && currentWebView.navigationHistory.forwardItems
MenuItem {
text: model.title
- onTriggered: currentWebView.experimental.goForwardTo(index)
+ onTriggered: currentWebView.goBackOrForward(model.offset)
}
onObjectAdded: forwardHistoryMenu.insertItem(index, object)