Also change uptime record to use new string style

This commit is contained in:
Mikko Ahlroth 2014-02-11 16:32:38 +02:00
parent 694501edb8
commit eb0bd02cad
3 changed files with 4 additions and 3 deletions

View file

@ -30,7 +30,8 @@ Page {
recordLabel.text = "Making new record!";
}
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;
}

View file

@ -14,7 +14,7 @@ Name: harbour-sailtime
%{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: SailTime
Version: 1.1.1
Release: 1
Release: 2
Group: Qt/Qt
License: MIT Expat licence
URL: http://example.org/

View file

@ -1,7 +1,7 @@
Name: harbour-sailtime
Summary: SailTime
Version: 1.1.1
Release: 1
Release: 2
Group: Qt/Qt
URL: http://example.org/
License: "MIT Expat licence"