From 5dff77a46d3ac860c9e8f46d8dd1a0da9230a906 Mon Sep 17 00:00:00 2001 From: John Tapsell Date: Tue, 4 Dec 2007 02:50:00 +0000 Subject: Small compile fix svn path=/trunk/KDE/kdebase/apps/; revision=744667 --- src/dolphinmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinmodel.cpp') diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp index 525c8a4fd..a75c0e6f6 100644 --- a/src/dolphinmodel.cpp +++ b/src/dolphinmodel.cpp @@ -86,7 +86,7 @@ QVariant DolphinModel::data(const QModelIndex &index, int role) const retString = name.at(0).toUpper(); else if (item.isHidden()) { if(name.at(0) == '.') { - if(data.size() > 1 && name.at(1).isLetter()) + if(name.size() > 1 && name.at(1).isLetter()) retString = name.at(1).toUpper(); else retString = i18nc("@title:group Name", "Others"); -- cgit v1.3