mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 12:47:44 +00:00
Use QtWebView
This commit is contained in:
parent
3e7139c216
commit
6b714d0a52
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import QtQuick.Window 2.15
|
||||||
import org.kde.kirigami 2.20 as Kirigami
|
import org.kde.kirigami 2.20 as Kirigami
|
||||||
import QtQuick.Controls 2.15 as Controls
|
import QtQuick.Controls 2.15 as Controls
|
||||||
import QtQuick.Layouts 1.15
|
import QtQuick.Layouts 1.15
|
||||||
import QtWebEngine 1.10
|
import QtWebView 1.10
|
||||||
|
|
||||||
Kirigami.Page {
|
Kirigami.Page {
|
||||||
id: page
|
id: page
|
||||||
|
@ -17,7 +17,7 @@ Kirigami.Page {
|
||||||
|
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
WebEngineView {
|
WebView {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
url: page.url
|
url: page.url
|
||||||
|
|
Loading…
Add table
Reference in a new issue