[taskjuggler-devel] Re: Strange regression with Effort display in latest svn snapshot

From: vincenegri (vince.negri_at_gmail.com)
Date: Wed Nov 09 2005 - 19:41:25 CET


From: vincenegri <vince.negri@gmail.com>
Message-ID: <180c.437242d5@www.taskjuggler.org>
Date: Wed,  9 Nov 2005 19:41:25 +0100 (CET)
Subject: [taskjuggler-devel] Re: Strange regression with Effort display  in latest svn snapshot


I think I've found what causes this.

Back at the end of Oct, this change was made to ReportElement.cpp:

- const char* shortUnit[] = { "d", "min", "h", "w", "m", "y" };
- const char* unit[] = { "day", "minute", "hour", "week", "month", "year" };
- const char* units[] = { "days", "minutes", "hours", "weeks", "months",
+ const char* shortUnit[] = { "min", "h", "d", "w", "m", "y" };
+ const char* unit[] = { "minute", "hour", "day", "week", "month", "year" };
+ const char* units[] = { "minutes", "hours", "days", "weeks", "months",
"years"};

The unit name definitions were moved around to a more logical arrangement.

Unfortunately, the initialisation of the max[] array or the "factors" QValueList has not been changed to match! 8o

-- 
To unsubscribe, email: taskjuggler-devel-unsubscribe@suse.com
For additional commands, email: taskjuggler-devel-help@suse.com


This archive was generated by hypermail 2.1.7 : Wed Nov 09 2005 - 19:41:29 CET