Fix ListSectionHeaders on DownloadPage
Also remove the workaround for a qt5 bug which apparently is no longer there with qt6.
This commit is contained in:
parent
ffe4f80240
commit
9c79fc131b
@ -67,10 +67,12 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
section {
|
section {
|
||||||
delegate: Kirigami.ListSectionHeader {
|
delegate: Kirigami.ListSectionHeader {
|
||||||
height: implicitHeight // workaround for bug 422289
|
required property string section
|
||||||
label: section == Enclosure.Downloading ? i18n("Downloading") :
|
|
||||||
section == Enclosure.PartiallyDownloaded ? i18n("Incomplete Downloads") :
|
// NOTE: the Enclosure.Status enum values get converted to strings
|
||||||
section == Enclosure.Downloaded ? i18n("Downloaded") :
|
label: section == "Downloading" ? i18n("Downloading") :
|
||||||
|
section == "PartiallyDownloaded" ? i18n("Incomplete Downloads") :
|
||||||
|
section == "Downloaded" ? i18n("Downloaded") :
|
||||||
""
|
""
|
||||||
}
|
}
|
||||||
property: "entry.enclosure.status"
|
property: "entry.enclosure.status"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user