[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kio
From:       <pbrown () redhat ! com>
Date:       2000-05-30 14:29:22
[Download RAW message or body]

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. 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic