File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ Item {
189189 target: downloader
190190 ignoreUnknownSignals: true
191191
192- onStateChanged: {
192+ function onStateChanged ( state ) {
193193 downloadInfo .visible = state !== QmlDownloader .COMPLETED ;
194194 if (state === QmlDownloader .DOWNLOADING ) {
195195 downloadAction .iconName = " av/pause" ;
Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ ApplicationWindow {
3737 Connections {
3838 target: downloader
3939 ignoreUnknownSignals: true
40- onStatusMessage: {
40+ function onStatusMessage ( message ) {
4141 console .log (" Download status: " + message);
4242 infoBar .open (message);
4343 }
44- onFatalMessage: {
44+ function onFatalMessage ( message ) {
4545 console .log (" Installation failed: " + message);
4646 errorPopup .errorDetail = message;
4747 errorPopup .open ();
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ ApplicationWindow {
6060 Connections {
6161 target: splashController
6262
63- onUpdateNeeded: { // game update only
63+ function onUpdateNeeded ( updateNeeded ) { // game update only
6464 if (updateNeeded) {
6565 showUpdater ()
6666 } else {
@@ -69,7 +69,7 @@ ApplicationWindow {
6969 }
7070 }
7171
72- onUpdaterUpdate: {
72+ function onUpdaterUpdate ( version ) {
7373 downloader .startUpdaterUpdate (version);
7474 updaterUpdateLabel .visible = true ;
7575
@@ -95,7 +95,7 @@ ApplicationWindow {
9595 id: splashDownloaderConnections
9696 target: downloader
9797
98- onFatalMessage: {
98+ function onFatalMessage ( message ) {
9999 updateFailed .errorDetail = message;
100100 updateFailedWindow .show ();
101101 updateFailed .open ();
You can’t perform that action at this time.
0 commit comments