From kde-commits Thu Nov 13 22:29:57 2008 From: =?utf-8?q?Andr=C3=A9_W=C3=B6bbeking?= Date: Thu, 13 Nov 2008 22:29:57 +0000 To: kde-commits Subject: Re: KDE/kdebase/apps/dolphin/src Message-Id: <200811132329.57954.Woebbeking () kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122661544322330 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 > +#include > #include > +#include > #include > > 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 :-)