[PATCH] KDateTable::contentsMousePressedEvent()

Lukáš Tinkl lukas at kde.org
Thu Sep 19 07:11:44 BST 2002


Dne čt 19. září 2002 01:55 Ian Reinhart Geiser napsal(a):
> 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

Of course, that's what I tried first :) But I see a patch was already 
committed...

-- 
Lukáš Tinkl (lukas at kde.org, lukas.tinkl at suse.cz)
KDE developer | SuSE Labs
http://czechia.kde.org






More information about the kde-core-devel mailing list