[PATCH] KDateTable::contentsMousePressedEvent()

Ian Reinhart Geiser geiseri at yahoo.com
Thu Sep 19 00:55:36 BST 2002

Hash: SHA1

On Wednesday 18 September 2002 06:56 am, Lukáš Tinkl wrote:
> Dne st 18. září 2002 11:39 Ian Reinhart Geiser napsal(a):
> > On Tuesday 17 September 2002 09:07 pm, Jason Harris wrote:
> > > Hello,
> > >
> > > I've noticed that when I click on a date in a KDatePicker, it selects
> > > the date directly below the clicked date.  The attached patch fixes it,
> > > but I'm not familiar enough with the code to know if such a simple fix
> > > is OK. Please test and commit, if it checks out.
> >
> > I think this patch is wrong, because its a localisation issue.  Aka the
> > selection is off by 7 or something.  This had been talked about on IRC,
> > but I dont think anyone has done anything about it.   Maks do you
> > remember this conversation?  Do you remember the outcome?   Did it get
> > put on someone's todo and forgotten?
> >
> > Cheers
> > -ian reinhart geiser
> Yes, I'm aware of the problem (and probably guilty as well), but so far I
> haven't been able to reproduce it here :(
Yes Mak and I thought the problem had to do with locales.  Did you try to set 
your day of the week to start on Sunday?  Or set the locale to be US?

I get it quite reliably here in all classes using kdatetable.

- -ian reinhart geiser
- -- 
The law will never make men free; it is men who have got to make the
law free.
		-- Henry David Thoreau
Version: GnuPG v1.0.7 (GNU/Linux)


More information about the kde-core-devel mailing list