broulik added inline comments.
INLINE COMMENTS
> main.qml:77
> engine: "time"
> - connectedSources: plasmoid.configuration.selectedTimeZones
> + connectedSources: allTimezones
> interval: plasmoid.configuration.showSeconds ? 1000 : 60000
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
}
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D2936
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: mart, #plasma, davidedmundson
Cc: broulik, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts,
sebas