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

List:       kde-commits
Subject:    Re: [calligra] libs/flake: Don't show the focus rectangle around the canvas controller's viewport
From:       "C. Boemann" <cbo () boemann ! dk>
Date:       2013-12-02 11:37:40
Message-ID: 6332330.NFleWBVaHY () flapper
[Download RAW message or body]

On Monday 02 December 2013 11:36:03 Boudewijn Rempt wrote:
> Git commit e6e19637b464968bef738c73483c5de4677af4c5 by Boudewijn Rempt.
> Committed on 02/12/2013 at 11:35.
> Pushed by rempt into branch 'master'.
> 
> Don't show the focus rectangle around the canvas controller's viewport
> 
> M  +1    -0    libs/flake/KoCanvasControllerWidget.cpp
> 
> http://commits.kde.org/calligra/e6e19637b464968bef738c73483c5de4677af4c5
> 
> diff --git a/libs/flake/KoCanvasControllerWidget.cpp
> b/libs/flake/KoCanvasControllerWidget.cpp index 0c111f4..4c0df81 100644
> --- a/libs/flake/KoCanvasControllerWidget.cpp
> +++ b/libs/flake/KoCanvasControllerWidget.cpp
> @@ -200,6 +200,7 @@
> KoCanvasControllerWidget::KoCanvasControllerWidget(KActionCollection *
> actionCol // And then our own Viewport
>      d->viewportWidget = new Viewport(this);
>      setViewport(d->viewportWidget);
> +    d->viewportWidget->setFocusPolicy(Qt::NoFocus);
> 
>      //setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
>      setAutoFillBackground(false);
YAY, been looking for that
[prev in list] [next in list] [prev in thread] [next in thread] 

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