Commit cbb31c09 authored by Rinigus Saar's avatar Rinigus Saar

remove homepage settings UI as it is never used, fixes #24

parent 6d859307
......@@ -69,31 +69,31 @@ Kirigami.ScrollablePage {
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
InputSheet {
id: homePagePopup
title: i18n("Homepage")
description: i18n("Website that should be loaded on startup")
placeholderText: BrowserManager.homepage
onAccepted: {
if (homePagePopup.text !== "")
BrowserManager.homepage = UrlUtils.urlFromUserInput(homePagePopup.text)
}
}
Kirigami.Separator {
Layout.fillWidth: true
}
Controls.ItemDelegate {
text: i18n("Homepage")
Layout.fillWidth: true
onClicked: {
homePagePopup.open()
}
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
// InputSheet {
// id: homePagePopup
// title: i18n("Homepage")
// description: i18n("Website that should be loaded on startup")
// placeholderText: BrowserManager.homepage
// onAccepted: {
// if (homePagePopup.text !== "")
// BrowserManager.homepage = UrlUtils.urlFromUserInput(homePagePopup.text)
// }
// }
// Kirigami.Separator {
// Layout.fillWidth: true
// }
// Controls.ItemDelegate {
// text: i18n("Homepage")
// Layout.fillWidth: true
// onClicked: {
// homePagePopup.open()
// }
// leftPadding: Kirigami.Units.gridUnit
// rightPadding: Kirigami.Units.gridUnit
// implicitHeight: Kirigami.Units.gridUnit * 2.5
// }
Kirigami.Separator {
Layout.fillWidth: true
......
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