Generate sensible stats when no journeys are logged
authorDavid Llewellyn-Jones <david@flypig.co.uk>
Tue, 17 Jul 2018 17:42:49 +0000 (18:42 +0100)
committerDavid Llewellyn-Jones <david@flypig.co.uk>
Tue, 17 Jul 2018 17:42:49 +0000 (18:42 +0100)
commit851af6c4deb0aabedf01ddc9e23511dca8ccbf7a
tree40a028eac1aba932f208cedd2aadac576a9e1d19
parent3e42fe6d6d8c784a05300add5613f5cee5571b30
Generate sensible stats when no journeys are logged

Previouosly it was producing empty or "%NaN" results due to zero
or division-by-zero calculations. Now it should show sensible
text.

There are also some changes made to allow the cover to work better
on Jolla One and Jolla C devices.
qml/cover/CoverPage.qml
qml/pages/About.qml
src/status.cpp
translations/harbour-pedalo-de.ts
translations/harbour-pedalo.ts