Commit 5943acef authored by Nate Graham's avatar Nate Graham
Browse files

kcms/landingpage: Use global themes' real names in quick chooser

By using generic "Light" and "Dark" terminology here, we're giving
people the mistaken impression that the global theme buttons on the
Quick Settings page comprise a generic light/dark toggle switch. But
they do not; they are simply quick links to the Breeze Light and Breeze
Dark global themes. So let's clarify that by using the actual names of
whatever global themes are configured to appear here.

BUG: 459367
FIXED-IN: 5.26


(cherry picked from commit c92c3588)
parent 7fcb5948
Pipeline #237078 passed with stage
in 3 minutes and 29 seconds
......@@ -33,7 +33,7 @@ KCM.SimpleKCM {
Thumbnail {
imageSource: kcm.defaultLightLookAndFeel.thumbnail
text: i18nc("Adjective; as in, 'light theme'", "Light")
text: kcm.defaultLightLookAndFeel.name
checked: kcm.globalsSettings.lookAndFeelPackage === kcm.defaultLightLookAndFeel.id
QQC2.ButtonGroup.group: themeGroup
......@@ -46,7 +46,7 @@ KCM.SimpleKCM {
}
Thumbnail {
imageSource: kcm.defaultDarkLookAndFeel.thumbnail
text: i18nc("Adjective; as in, 'dark theme'", "Dark")
text: kcm.defaultDarkLookAndFeel.name
checked: kcm.globalsSettings.lookAndFeelPackage === kcm.defaultDarkLookAndFeel.id
QQC2.ButtonGroup.group: themeGroup
......
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