From 85aec92f819eae5a6189bd3ec25cff44dce3ae19 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 12 Dec 2008 06:55:26 +0000 Subject: SVN_SILENT: removed trailing spaces svn path=/trunk/KDE/kdebase/apps/; revision=895978 --- src/dolphinfileitemdelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dolphinfileitemdelegate.cpp') diff --git a/src/dolphinfileitemdelegate.cpp b/src/dolphinfileitemdelegate.cpp index 9889feef8..a66e051ba 100644 --- a/src/dolphinfileitemdelegate.cpp +++ b/src/dolphinfileitemdelegate.cpp @@ -42,7 +42,7 @@ void DolphinFileItemDelegate::paint(QPainter* painter, { if (m_hasMinimizedNameColumn && (index.column() == KDirModel::Name)) { QStyleOptionViewItemV4 opt(option); - + const QAbstractProxyModel* proxyModel = static_cast(index.model()); const KDirModel* dirModel = static_cast(proxyModel->sourceModel()); const QModelIndex dirIndex = proxyModel->mapToSource(index); @@ -61,7 +61,7 @@ int DolphinFileItemDelegate::nameColumnWidth(const QString& name, const QStyleOp { QFontMetrics fontMetrics(option.font); int width = option.decorationSize.width() + fontMetrics.width(name) + 16; - + const int defaultWidth = option.rect.width(); if ((defaultWidth > 0) && (defaultWidth < width)) { width = defaultWidth; -- cgit v1.3