[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeaddons/noatun-plugins/hayes
From:       Carsten Pfeiffer <carpdjih () mailbox ! tu-berlin ! de>
Date:       2003-06-19 16:12:01
[Download RAW message or body]

CVS commit by pfeiffer: 

ok, so there might be people with mp3s of 10 CD-sets that have a number 
in the directory name :)


  M +15 -18    branch.cpp   1.52


--- kdeaddons/noatun-plugins/hayes/branch.cpp  #1.51:1.52
@@ -556,7 +556,5 @@ QString Hayes::FileTreeViewItem::key(int
         }
 
-        // pad numbers for some user-friendly sorting -- not necessary for dirs
-        if (!isDir())
-        {
+        // pad numbers for some user-friendly sorting
                 int location = t.length();
                 do
@@ -576,5 +574,4 @@ QString Hayes::FileTreeViewItem::key(int
                         t = *d->initialNumbersRE.capturedTexts().at(2);
                         if(!numberPart.isEmpty()) t.prepend(numberPart.rightJustify(500, '0'));
-                }
         }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic