From: Robert Knight Date: Mon, 14 Apr 2008 12:30:05 +0000 (+0000) Subject: Do not take address of temporary variable. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/46f6908b7e9e717f9f163eabee43a91a2f508e2f Do not take address of temporary variable. svn path=/trunk/KDE/kdebase/apps/; revision=796853 --- diff --git a/src/kformattedballoontipdelegate.cpp b/src/kformattedballoontipdelegate.cpp index 2caafe0b2..833f612f1 100644 --- a/src/kformattedballoontipdelegate.cpp +++ b/src/kformattedballoontipdelegate.cpp @@ -74,7 +74,7 @@ QRegion KFormattedBalloonTipDelegate::inputShape(const KStyleOptionToolTip *opti QPainter p(&bitmap); p.setPen(QPen(Qt::color1, 1)); p.setBrush(Qt::color1); - p.drawPath(createPath(option, &QRect())); + p.drawPath(createPath(option, 0)); return QRegion(bitmap); }