[Digikam-devel] [Bug 116520] Slideshow should work for search results as well

Tom Albers tomalbers at kde.nl
Thu Dec 29 21:10:58 GMT 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116520         




------- Additional Comments From tomalbers kde nl  2005-12-29 22:10 -------
SVN commit 492407 by toma:

backport

r492401 | toma | 2005-12-29 21:51:32 +0100 (do, 29 dec 2005) | 4 lines

Make the kipi plugins also work on all images in a search folder or date folder.
CCBUG: 116520



 M  +13 -0     kipiinterface.cpp  


--- branches/stable/extragear/graphics/digikam/digikam/kipiinterface.cpp #492406:492407
 @ -355,6 +355,19  @
         {
             return imagesFromTAlbum(dynamic_cast<TAlbum*>(album_));
         }
+        else if (album_->type() == Album::DATE || 
+                 album_->type() == Album::SEARCH)
+        {
+            AlbumItemHandler* handler =
+                    AlbumManager::instance()->getItemHandler();
+
+            if (handler)
+            {
+                return handler->allItems();
+            }
+
+            return KURL::List();
+       }
         else
         {
             kdWarning() << k_funcinfo



More information about the Digikam-devel mailing list