File tree Expand file tree Collapse file tree 8 files changed +28
-9
lines changed Expand file tree Collapse file tree 8 files changed +28
-9
lines changed Original file line number Diff line number Diff line change 59
59
right: parent .right
60
60
rightMargin: Theme .paddingLarge
61
61
}
62
- text: " Version: 0.4.1 "
62
+ text: " Version: 0.4.2 "
63
63
}
64
64
Label {
65
65
id: descriptionLabel
Original file line number Diff line number Diff line change @@ -47,6 +47,24 @@ Page {
47
47
PageHeader {
48
48
title: " Changelog"
49
49
}
50
+ Label {
51
+ anchors {
52
+ left: parent .left
53
+ leftMargin: Theme .paddingLarge
54
+ right: parent .right
55
+ rightMargin: Theme .paddingLarge
56
+ }
57
+ wrapMode: Text .WordWrap
58
+ color: Theme .highlightColor
59
+ textFormat: Text .RichText
60
+ text: " <b>0.4.2 - Bus Stop Messages.</b><br>
61
+ *Added Bus stop messages: relevant messages now appear in the header.<br>
62
+ *Fixed bug: Widgets in This Weekend and Service Status pages' expand and contract consistently and text is displayed only inside widget.<br>
63
+ *Pulley menu is now disabled on This Weekend and Service Status pages when busy to avoid possible segfault.
64
+ *Fixed bug: on Bus Stop page BusyIndicator is now correctly shown whilst dowloading.<br>
65
+ *Fixed bug: on Journey Progress page placeholder is now not visible during downloading.<br>
66
+ *Other minor GUI improvements."
67
+ }
50
68
Label {
51
69
anchors {
52
70
left: parent .left
Original file line number Diff line number Diff line change 51
51
onStateChanged: {
52
52
busyIndicator .running = serviceStatusData .isDownloading ()
53
53
pulley .busy = serviceStatusData .isDownloading ()
54
+ pulley .enabled = ! serviceStatusData .isDownloading ()
54
55
}
55
56
}
56
57
}
Original file line number Diff line number Diff line change 47
47
onStateChanged: {
48
48
busyIndicator .running = thisWeekendData .isDownloading ()
49
49
pulley .busy = thisWeekendData .isDownloading ()
50
+ pulley .enabled = ! thisWeekendData .isDownloading ()
50
51
}
51
52
}
52
53
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Name: harbour-london-sail
13
13
%{! ?qtc_make:%define qtc_make make}
14
14
%{?qtc_builddir:%define _builddir %qtc_builddir }
15
15
Summary: London Sail is commuter application for London.
16
- Version: 0.4.1
16
+ Version: 0.4.2
17
17
Release: 1
18
18
Group: Qt/Qt
19
19
License: MIT Licence
Original file line number Diff line number Diff line change 1
1
Name : harbour-london-sail
2
2
Summary : London Sail is commuter application for London.
3
- Version : 0.4.1
3
+ Version : 0.4.2
4
4
Release : 1
5
5
Group : Qt/Qt
6
6
URL : http://example.org/
Original file line number Diff line number Diff line change @@ -72,16 +72,15 @@ void ServiceStatusLogic::parse(const QByteArray& data) {
72
72
qDebug () << " >>> Parsed Successfuly <<<" ;
73
73
emit dataChanged ();
74
74
}
75
- downloading = false ;
76
- emit stateChanged ();
77
75
}
78
76
79
77
// private slots:
80
78
81
79
// It will be called as soon as "reply" signals "finished()"
82
80
void ServiceStatusLogic::downloaded () {
83
- QByteArray data = reply->readAll ();
84
- parse (data);
81
+ downloading = false ;
82
+ emit stateChanged ();
83
+ parse (reply->readAll ());
85
84
reply->deleteLater ();
86
85
}
87
86
Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ void ThisWeekendLogic::parseData(const QByteArray& data) {
63
63
qDebug () << " Parsing failed" ;
64
64
}
65
65
qDebug () << " Not Downloading" ;
66
- downloading = false ;
67
- emit stateChanged ();
68
66
}
69
67
70
68
// private slots:
71
69
// This slot is called when data is downloaded
72
70
void ThisWeekendLogic::downloaded () {
71
+ downloading = false ;
72
+ emit stateChanged ();
73
73
parseData (reply->readAll ());
74
74
reply->deleteLater ();
75
75
}
You can’t perform that action at this time.
0 commit comments