[digital-clock] Move unrelated code to its own slot

wilder-5.14
Martin Klapetek 11 years ago
parent 1fc66aabb2
commit fa01d9d8a6
  1. 13
      applets/digital-clock/package/contents/ui/configAppearance.qml

@ -90,6 +90,7 @@ Item {
text: i18n("Show local time zone") text: i18n("Show local time zone")
} }
QtControls.Label { QtControls.Label {
text: i18n("Display time zone as:") text: i18n("Display time zone as:")
} }
@ -146,16 +147,18 @@ Item {
dateFormat.currentIndex = i; dateFormat.currentIndex = i;
} }
} }
if (plasmoid.configuration.displayTimezoneAsCode) {
timezoneCodeRadio.checked = true;
} else {
timezoneCityRadio.checked = true;
} }
} }
} }
} }
} }
} }
Component.onCompleted: {
if (plasmoid.configuration.displayTimezoneAsCode) {
timezoneCodeRadio.checked = true;
} else {
timezoneCityRadio.checked = true;
}
} }
} }

Loading…
Cancel
Save