summaryrefslogtreecommitdiffstats
path: root/src/settingsui/timedate/TimeDate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingsui/timedate/TimeDate.qml')
-rw-r--r--src/settingsui/timedate/TimeDate.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/settingsui/timedate/TimeDate.qml b/src/settingsui/timedate/TimeDate.qml
index 2104c75..fccda46 100644
--- a/src/settingsui/timedate/TimeDate.qml
+++ b/src/settingsui/timedate/TimeDate.qml
@@ -118,7 +118,9 @@ Item {
delegate: ItemDelegate {
id: timeZoneDelegate
height: timeZoneBox.height
- contentItem: Text {
+ width: timeZoneBox.width
+ // QTBUG-49224: contentItem: Item {}
+ Text {
anchors.left: timeZoneDelegate.left
anchors.leftMargin: pluginMain.margin
text: modelData["id"]
@@ -146,7 +148,7 @@ Item {
onCurrentIndexChanged: {
var val = TimezonesFilter.itemFromRow(currentIndex);
- if (val !== "") {
+ if (val && val !== "") {
TimeManager.timeZone = val
}
}