From kde-commits Tue May 30 14:29:22 2000 From: Date: Tue, 30 May 2000 14:29:22 +0000 To: kde-commits Subject: Re: kdelibs/kio X-MARC-Message: https://marc.info/?l=kde-commits&m=95969700304856 On Tue, 30 May 2000, David Faure wrote: > > Modified Files: > > defaultprogress.cpp uiserver.cpp > > Log Message: > > formatTime doesn't work well here. Thought it would, but it looks > > strange. > > Isn't this rather the KLocale problem (due to dollar expansion) ? > > I'd advise about fixing the problem at the heart rather than > working around ;-) No, it is because formatTime returns something on the order of "12:03 am" whereas the toString method of QTime returns "00:03". When used for "time remaining" the 2nd form makes much more sense. It isn't an absolute time we are interested in per se but a relative time, and the locale stuff doesn't even have that concept. -- Preston Brown pbrown@redhat.com Red Hat, Inc.