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

List:       kde-commits
Subject:    extragear/graphics/digikam/utilities/setup
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2008-11-01 17:56:14
Message-ID: 1225562174.711718.4170.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 878717 by cgilles:

use collection label from DB


 M  +4 -1      setupcollections.cpp  


--- trunk/extragear/graphics/digikam/utilities/setup/setupcollections.cpp #878716:878717
@@ -434,7 +434,10 @@
     for (QList<CollectionLocation>::Iterator it = d->collections.begin();
          it != d->collections.end(); ++it)
     {
-        QString name = i18n("Col. %1", i++);       // TODO: handle root album name set in DB.
+        QString name = (*it).label();
+        if (name.isEmpty()) 
+            name = i18n("Col. %1", i++);
+
         new CollectionListViewItem(d->listView, name, *it);
     }
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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