We need Local to be *always* present, even if not disaplayed as
it's used for formatting in ToolTip.dateTimeChanged()
this makes sure local is always in the connected sources, even if
it's not explicitly shown to the user
Details
Details
tested, local timezone is not shown in clock/tooltip when
selected, and no warnings from dateTimeChanged()
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
applets/digital-clock/package/contents/ui/main.qml | ||
---|---|---|
77 | Can't you just bind that without Connections? (or as a readonly property var like above if you find that cleaner) connectedSources: { var ts = plasmoid.configuration.selectedTimeZones; if (ts.indexOf("Local") === -1) { ts.push("Local") } return ts } |