File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed
Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -143,23 +143,24 @@ Item {
143143 anchors .rightMargin : 15
144144 visible: application .progress === 1
145145 Label {
146- text: " Version: " + application .version + " (Data Version: "
146+ id: versionLabel
147+ text: " Version: " + application .version + " (Data Version: " + application .dataVersion
147148 rightPadding: 0
148149 leftPadding: 0
149150 verticalAlignment: Text .AlignVCenter
150151 horizontalAlignment: Text .AlignRight
151152 }
152- Label {
153- text: application .dataVersion
153+ Button {
154154 rightPadding: 0
155155 leftPadding: 0
156- verticalAlignment: Text .AlignVCenter
157- horizontalAlignment: Text .AlignRight
158- font .underline : true
159- MouseArea {
160- anchors .fill : parent
161- onDoubleClicked: application .resetData ()
162- }
156+ width: versionLabel .height
157+ height: versionLabel .height
158+ icon .source : " qrc:/refresh.png"
159+ icon .color : " transparent"
160+ flat: true
161+ onDoubleClicked: application .resetData ()
162+ ToolTip .visible : down
163+ ToolTip .text : " Double click to force reloading data from the internet"
163164 }
164165 Label {
165166 text: " )"
Original file line number Diff line number Diff line change 22<RCC version="1.0">
33 <qresource>
44 <file>icon.ico</file>
5+ <file>refresh.png</file>
56 </qresource>
67</RCC>
You can’t perform that action at this time.
0 commit comments