Also change uptime record to use new string style
This commit is contained in:
parent
694501edb8
commit
eb0bd02cad
3 changed files with 4 additions and 3 deletions
|
@ -30,7 +30,8 @@ Page {
|
||||||
recordLabel.text = "Making new record!";
|
recordLabel.text = "Making new record!";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
recordLabel.text = "Record: " + uptime.rDays + " days " + uptime.rHours + " h " + uptime.rMinutes + " min";
|
var rStrings = formatUptime(uptime.rDays, uptime.rHours, uptime.rMinutes);
|
||||||
|
recordLabel.text = "Record: " + rStrings.days + " " + rStrings.hours + " " + rStrings.minutes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ Name: harbour-sailtime
|
||||||
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
||||||
Summary: SailTime
|
Summary: SailTime
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
License: MIT Expat licence
|
License: MIT Expat licence
|
||||||
URL: http://example.org/
|
URL: http://example.org/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Name: harbour-sailtime
|
Name: harbour-sailtime
|
||||||
Summary: SailTime
|
Summary: SailTime
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
URL: http://example.org/
|
URL: http://example.org/
|
||||||
License: "MIT Expat licence"
|
License: "MIT Expat licence"
|
||||||
|
|
Loading…
Reference in a new issue