~ahayzen/ubuntu-weather-app/reboot-ap-add-location-pane-helper-and-tidy-ups

« back to all changes in this revision

Viewing changes to app/components/DayDelegateExtraInfo.qml

* Fix for wind test failing and some selects not waiting for visible=True. Fixes: https://bugs.launchpad.net/bugs/1492321.

Approved by Victor Thompson, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    anchors {
26
26
        centerIn: parent
27
27
    }
 
28
    objectName: "dayDelegateExtraInfo"
28
29
    spacing: units.gu(2)
29
30
 
 
31
    // Hack for autopilot otherwise DayDelegateExtraInfo appears as Column
 
32
    // due to bug 1341671 it is required that there is a property so that
 
33
    // qml doesn't optimise using the parent type
 
34
    property bool bug1341671workaround: true
 
35
 
30
36
    // FIXME: extended-infomation_* aren't actually on device
31
37
 
32
38
    // Overview text
51
57
        id: windForecast
52
58
        forecast: i18n.tr("Winds")
53
59
        imageSource: "../graphics/extended-information_wind.svg"
 
60
        objectName: "windForecast"
54
61
        value: modelData.wind
55
62
    }
56
63