[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdebase/apps/dolphin/src
From: André_Wöbbeking <Woebbeking () kde ! org>
Date: 2008-11-13 22:29:57
Message-ID: 200811132329.57954.Woebbeking () kde ! org
[Download RAW message or body]
On Thursday 13 November 2008, Peter Penz wrote:
> SVN commit 883932 by ppenz:
>
> improved look of tooltips
>
> M +13 -5 kformattedballoontipdelegate.cpp
>
>
> ---
> trunk/KDE/kdebase/apps/dolphin/src/kformattedballoontipdelegate.cpp
> #883931:883932 @@ -20,7 +20,9 @@
>
> #include "kformattedballoontipdelegate.h"
> #include <QBitmap>
> +#include <QLinearGradient>
> #include <QTextDocument>
> +#include <kcolorscheme.h>
> #include <kdebug.h>
>
> QSize KFormattedBalloonTipDelegate::sizeHint(const
> KStyleOptionToolTip *option, const KToolTipItem *item) const @@
> -43,18 +45,24 @@
> {
> QRect contents;
> QPainterPath path = createPath(option, &contents);
> - bool alpha = haveAlphaChannel();
> -
> - if (alpha) {
> + if (haveAlphaChannel()) {
> painter->setRenderHint(QPainter::Antialiasing);
> painter->translate(.5, .5);
> }
>
> #if QT_VERSION >= 0x040400
I think you can remove that check now :-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic