Commit 9d909c89 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/kickoff] Always capitalize section header letters

Or else you can wind up in a funky situation where the section header
letter is lowercase when the first item in that section begins with a
lowercase letter!

BUG: 433217
FIXED-IN: 5.21.1
parent 723b8e02
...@@ -40,7 +40,9 @@ Item { ...@@ -40,7 +40,9 @@ Item {
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
y: Math.round(PlasmaCore.Units.gridUnit / 4) y: Math.round(PlasmaCore.Units.gridUnit / 4)
level: 4 level: 4
text: section // Force it to be uppercase or else if the first item in a section starts
// with a lowercase letter, the header letter will be lowercase too!
text: section.toUpperCase()
} }
Item { Item {
width: parent.width width: parent.width
......
Supports Markdown
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