From 3d8ef6cc89bfe6f7a6fba9d0d777ffa77d3d347a Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 26 Dec 2011 13:31:45 +1000 Subject: [PATCH] Fix error in countDays() function --- SleepLib/profiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SleepLib/profiles.cpp b/SleepLib/profiles.cpp index e837529a..5650e3d1 100644 --- a/SleepLib/profiles.cpp +++ b/SleepLib/profiles.cpp @@ -561,7 +561,7 @@ int Profile::countDays(MachineType mt, QDate start, QDate end) if ((mt==MT_UNKNOWN) || (day->machine->GetType()==mt)) days++; } date=date.addDays(1); - } while (date