From 94368782e186b31f270f79175a6ce47d347516be Mon Sep 17 00:00:00 2001 From: kirbylife Date: Wed, 20 Mar 2024 00:55:48 -0600 Subject: [PATCH] Change the deprecated SilicaWebView to the new WebView --- qml/pages/ArticlePage.qml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/qml/pages/ArticlePage.qml b/qml/pages/ArticlePage.qml index cb6d2d8..413e9d2 100644 --- a/qml/pages/ArticlePage.qml +++ b/qml/pages/ArticlePage.qml @@ -21,6 +21,9 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 +import Sailfish.WebView 1.0 +import Sailfish.WebEngine 1.0 +import Sailfish.WebView.Popups 1.0 Page { id: articlePage @@ -29,7 +32,7 @@ Page { property string title property string content - SilicaWebView { + WebView { id: webview anchors.fill: parent @@ -42,9 +45,13 @@ Page { var html = "" + "" + + "" + "" + "" + "" +