]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Pedantic
authorLaurent Montel <montel@kde.org>
Mon, 18 Aug 2008 21:50:41 +0000 (21:50 +0000)
committerLaurent Montel <montel@kde.org>
Mon, 18 Aug 2008 21:50:41 +0000 (21:50 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=849031

src/dolphintooltip.cpp

index 67b5fd6f53dd2d9a51fabd596e96d21fd233c2ec..26935d6a0a7b4cb104493e41efebc1fe9ca8a9e1 100644 (file)
@@ -44,7 +44,7 @@ void DolphinToolTipItem::setPreview(const KFileItem& fileItem, const QPixmap& pr
     painter.drawPixmap((PREVIEW_WIDTH - preview.width()) / 2, (PREVIEW_HEIGHT - preview.height()) / 2, preview); 
     setData(Qt::DecorationRole, QIcon(paddedImage));*/
     setData(Qt::DecorationRole, QIcon(preview));
-};
+}
 // Delegate everything to the base class, after re-setting the decorationSize
 // to the preview size.
 QSize DolphinBalloonTooltipDelegate::sizeHint(const KStyleOptionToolTip *option, const KToolTipItem *item) const
@@ -58,4 +58,4 @@ void DolphinBalloonTooltipDelegate::paint(QPainter *painter, const KStyleOptionT
     KStyleOptionToolTip updatedStyleOption = *option;
     updatedStyleOption.decorationSize = QSize(PREVIEW_WIDTH, PREVIEW_HEIGHT);
     return KFormattedBalloonTipDelegate::paint(painter, &updatedStyleOption, item);
-}
\ No newline at end of file
+}