Fixed bug with multiple inner timers and save. Fixed bug with change preset during rounds

This commit is contained in:
Claudio Maradonna 2017-09-08 09:21:58 +02:00
parent b91ea9f768
commit fcd87e366b
5 changed files with 15 additions and 9 deletions

View File

@ -35,7 +35,7 @@ function getListOfInnerTimers() {
var timers = settingsPage.mListOfInnerTimers.length
for (var i = 0; i < timers; i++) {
list.push(settingsPage.mListOfInnerTimers[i].value)
list.push(settingsPage.mListOfInnerTimers[i])
}
return list;

View File

@ -8,18 +8,23 @@
# * date Author's Name <author's email> version-release
# - Summary of changes
* Thu Sep 07 2017 Claudio Maradonna <claudio@unitoo.pw> 1.2.1
* Fri Sep 08 2017 Claudio Maradonna <claudio@unitoo.pw> 1.2.3-4
- Fixed bug when saving multiple inner timers
- Fixed bug when change presets and rounds done > 0
- Fixed changes file
* Thu Sep 07 2017 Claudio Maradonna <claudio@unitoo.pw> 1.2.1-3
- Fixed bug with inner timer adjust and new inner timer
- Fixed link bug in about page
* Wed Sep 06 2017 Claudio Maradonna <claudio@unitoo.pw> 1.1
* Wed Sep 06 2017 Claudio Maradonna <claudio@unitoo.pw> 1.1-1
- Fixed bug with preset's deleting
- Fixed license in about page (cutted by html tag)
* Wed Aug 30 2017 Claudio Maradonna <claudio@unitoo.pw> 1.0
* Wed Aug 30 2017 Claudio Maradonna <claudio@unitoo.pw> 1.0-1
- Now you can add inner timers for rounds
- New icon
- Various bug fixes
* Thu Aug 24 2017 Claudio Maradonna <claudio@unitoo.pw> 0.1a
* Thu Aug 24 2017 Claudio Maradonna <claudio@unitoo.pw> 0.1a-1
- Initial release

View File

@ -13,8 +13,8 @@ Name: harbour-boxing-timer
%{!?qtc_make:%define qtc_make make}
%{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: Boxing timer
Version: 1.2.1
Release: 3
Version: 1.2.3
Release: 4
Group: Applications/Utilities
License: GPLv3
URL: https://github.com/UnitooTeam/harbour-boxing-timer

View File

@ -1,7 +1,7 @@
Name: harbour-boxing-timer
Summary: Boxing timer
Version: 1.2.1
Release: 3
Version: 1.2.3
Release: 4
# The contents of the Group field should be one of the groups listed here:
# http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS
Group: Applications/Utilities

View File

@ -189,6 +189,7 @@ const QString BoxingTimer::roundsToString() {
void BoxingTimer::loadPreset(const QString &preset) {
this->settings->setPreset(preset);
this->mRound = 0;
this->mRemainingMilliseconds = settings->getRoundMilliseconds();
this->mStatus = Status::Stop;