Verified Commit b044cad1 authored by Jonah Brüchert's avatar Jonah Brüchert
Browse files

More Plasma Components -> Kirigami

parent f3b68c9a
......@@ -99,6 +99,7 @@ Item {
text: currentWebView.url
selectByMouse: true
focus: false
Keys.onReturnPressed: load(browserManager.urlFromUserInput(text))
}
......
......@@ -37,7 +37,7 @@ Rectangle {
state: "hidden"
//state: "bookmarks"
color: theme.backgroundColor
color: Kirigami.Theme.backgroundColor
property string title: ""
......
......@@ -26,7 +26,6 @@ import QtQuick.Controls 2.0 as Controls
import QtQuick.Layouts 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kirigami 2.0 as Kirigami
// import org.kde.plasma.components 2.0 as PlasmaComponents
// import org.kde.plasma.extras 2.0 as PlasmaExtras
......
......@@ -48,7 +48,7 @@ Controls.ItemDelegate {
signal removed
PlasmaCore.IconItem {
Kirigami.Icon {
id: urlIcon
width: height
......@@ -98,7 +98,7 @@ Controls.ItemDelegate {
}
}
PlasmaCore.IconItem {
Kirigami.Icon {
id: removeIcon
width: height
......@@ -118,6 +118,4 @@ Controls.ItemDelegate {
onClicked: urlDelegate.removed();
}
}
}
......@@ -31,7 +31,7 @@ WebEngineView {
property string errorCode: ""
property string errorString: ""
property string userAgent: "Mozilla/5.0 (Linux; Plasma Mobile; like Android 7.0 ) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.107 Mobile Safari/537.36"
property string userAgent: "Mozilla/5.0 (Linux; Plasma Mobile, like Android 7.0 ) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.107 Mobile Safari/537.36"
width: pageWidth
height: pageHeight
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment