[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-workspace] applets/digital-clock/package/contents/ui: Use default weight rather than normal 
From:       David Edmundson <kde () davidedmundson ! co ! uk>
Date:       2016-09-15 10:40:27
Message-ID: E1bkU5j-0003dS-RH () code ! kde ! org
[Download RAW message or body]

Git commit 663c87bc6f3881091c04beb3ce447922945cf14e by David Edmundson, on =
behalf of Jacopo De Simoi.
Committed on 15/09/2016 at 10:40.
Pushed by davidedmundson into branch 'master'.

Use default weight rather than normal weight

Honor the choice of a user that has chosen a custom weight (e.g. light)
as default weight

REVIEW: 128702

M  +1    -1    applets/digital-clock/package/contents/ui/DigitalClock.qml

http://commits.kde.org/plasma-workspace/663c87bc6f3881091c04beb3ce447922945=
cf14e

diff --git a/applets/digital-clock/package/contents/ui/DigitalClock.qml b/a=
pplets/digital-clock/package/contents/ui/DigitalClock.qml
index 159eadf..b032fb3 100644
--- a/applets/digital-clock/package/contents/ui/DigitalClock.qml
+++ b/applets/digital-clock/package/contents/ui/DigitalClock.qml
@@ -406,7 +406,7 @@ Item {
 =

             font {
                 family: plasmoid.configuration.fontFamily || theme.default=
Font.family
-                weight: plasmoid.configuration.boldText ? Font.Bold : Font=
.Normal
+                weight: plasmoid.configuration.boldText ? Font.Bold : them=
e.defaultFont.weight
                 italic: plasmoid.configuration.italicText
                 pointSize: 1024
             }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic