[Digikam-devel] [Bug 146184] showfoto no filename specified

Gilles Caulier caulier.gilles at gmail.com
Thu May 31 08:25:05 BST 2007


------- 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=146184         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From caulier.gilles gmail com  2007-05-31 09:25 -------
SVN commit 670059 by cgilles:

digikam from trunk : showfoto : fix how to handle local file from command line.
BUG: 146184


 M  +10 -0     showfoto.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #670058:670059
 @ -253,10 +253,20  @
         {
             QFileInfo fi(url.path());
             if (fi.isDir())
+            {
+                // Local Dir
                 openFolder(url);                 
+            }
+            else
+            {
+                // Local file
+                new Digikam::ThumbBarItem(d->thumbBar, url);
+                d->lastOpenedDirectory=(*it);
+            }
         }
         else
         {
+            // Remote file.
             new Digikam::ThumbBarItem(d->thumbBar, url);
             d->lastOpenedDirectory=(*it);
         }



More information about the Digikam-devel mailing list