diff options
| author | Robert Knight <[email protected]> | 2008-04-14 12:30:05 +0000 |
|---|---|---|
| committer | Robert Knight <[email protected]> | 2008-04-14 12:30:05 +0000 |
| commit | 46f6908b7e9e717f9f163eabee43a91a2f508e2f (patch) | |
| tree | 9124ead8d79e585d12f9074e0e17a212d27af694 /src/kformattedballoontipdelegate.cpp | |
| parent | ac9e01f789110c12f536c2442a6cc92df96a0c36 (diff) | |
Do not take address of temporary variable.
svn path=/trunk/KDE/kdebase/apps/; revision=796853
Diffstat (limited to 'src/kformattedballoontipdelegate.cpp')
| -rw-r--r-- | src/kformattedballoontipdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
