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

List:       kde-commits
Subject:    Re: kdelibs/khtml/html
From:       George Staikos <staikos () kde ! org>
Date:       2004-11-07 17:20:17
Message-ID: 200411071220.17655.staikos () kde ! org
[Download RAW message or body]

On Sunday 07 November 2004 12:19, Tobias Anton wrote:
> On Samstag, 6. November 2004 15:18, George Staikos wrote:
> > +
> > +    if (last) {
> > +        RenderWidget *r = static_cast<RenderWidget*>(last->renderer());
> > +        if (r && r->widget()) {
> > +            r->widget()->setFocus();
> >          }
> >      }
>
> This looks wrong. IMO it should read:
> 	getDocument()->setFocusNode(last);

  Thanks, will fix asap.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/
[prev in list] [next in list] [prev in thread] [next in thread] 

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