Delete old commented code and minor restructuring

This commit is contained in:
Bart De Vries 2021-04-15 21:21:20 +02:00
parent 5edc0b0f3e
commit c158222d33
1 changed files with 12 additions and 18 deletions

View File

@ -21,12 +21,7 @@ Kirigami.ScrollablePage {
title: entry.title
/*Flickable {
anchors.fill: parent
clip: true
contentHeight: text.height
*/
Controls.Label {
width: page.width - 30
id: text
@ -39,7 +34,6 @@ Kirigami.ScrollablePage {
onLinkActivated: Qt.openUrlExternally(link)
//onWidthChanged: { text = entry.adjustedContent(width, font.pixelSize) }
}
//}
actions.main: Kirigami.Action {
text: !entry.enclosure ? i18n("Open in Browser") :
entry.enclosure.status === Enclosure.Downloadable ? i18n("Download") :