diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinfileitemdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinfileitemdelegate.cpp b/src/dolphinfileitemdelegate.cpp index c0e032570..9889feef8 100644 --- a/src/dolphinfileitemdelegate.cpp +++ b/src/dolphinfileitemdelegate.cpp @@ -48,7 +48,7 @@ void DolphinFileItemDelegate::paint(QPainter* painter, const QModelIndex dirIndex = proxyModel->mapToSource(index); const KFileItem item = dirModel->itemForIndex(dirIndex); if (!item.isNull()) { - const int width = nameColumnWidth(item.name(), opt); + const int width = nameColumnWidth(item.text(), opt); opt.rect.setWidth(width); } KFileItemDelegate::paint(painter, opt, index); |
