[PATCH] KDateTable::contentsMousePressedEvent()

John Firebaugh jfirebaugh at kde.org
Wed Sep 18 18:00:30 BST 2002


On Wednesday 18 September 2002 2:39, Ian Reinhart Geiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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.

It looked to me like a simple off-by-one error; the code didn't take into 
account the top heading row. I committed a fix already (not the one posted, 
but similar).

-John




More information about the kde-core-devel mailing list