]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Small compile fix
authorJohn Tapsell <john.tapsell@kdemail.net>
Tue, 4 Dec 2007 02:50:00 +0000 (02:50 +0000)
committerJohn Tapsell <john.tapsell@kdemail.net>
Tue, 4 Dec 2007 02:50:00 +0000 (02:50 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=744667

src/dolphinmodel.cpp

index 525c8a4fd23acd5f320c701e0302efcd869321e4..a75c0e6f61f114ae7bd7cf880e873b7b0d0797fd 100644 (file)
@@ -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");