[Digikam-devel] [Bug 135236] Right-click menu rename function cuts to the first period (not the extention one)

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Oct 7 11:32:43 BST 2006


------- 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=135236         
marcel.wiesweg gmx de changed:

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



------- Additional Comments From marcel.wiesweg gmx de  2006-10-07 12:32 -------
SVN commit 593242 by mwiesweg:

It is a matter of definition where begins the extension and what "should" be done,
but I agree for image file formats the common case is to use the last period.

BUG: 135236


 M  +1 -0      NEWS  
 M  +1 -1      digikam/albumiconview.cpp  


--- trunk/extragear/graphics/digikam/NEWS #593241:593242
 @ -299,5 +299,6  @
 175 ==> 131382 : All thumbnails of album destroyed when using Tag Filters.
 176 ==> 134869 : High CPU usage while displaying ICC Profile.
 177 ==> 134761 : a rotated RAW image get saved straight with an inconsistent Exif orientation
+178 ==> 135236 : Right-click menu rename function cuts to the first period (not the extention one)
 
 ----------------------------------------------------------------------------------------------------
--- trunk/extragear/graphics/digikam/digikam/albumiconview.cpp #593241:593242
 @ -784,7 +784,7  @
         return;
 
     QFileInfo fi(item->imageInfo()->name());
-    QString ext  = QString(".") + fi.extension();
+    QString ext  = QString(".") + fi.extension(false);
     QString name = fi.fileName();
     name.truncate(fi.fileName().length() - ext.length());



More information about the Digikam-devel mailing list