[Digikam-devel] [Bug 152219] impossible to clear comments in	metadata
    Marcel Wiesweg 
    marcel.wiesweg at gmx.de
       
    Mon Nov 12 21:53:31 GMT 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=152219         
------- Additional Comments From marcel.wiesweg gmx de  2007-11-12 22:53 -------
For the old JFIF comment, KExiv2::save(QString):
        if (!d->imageComments.empty())
        {
            image->setComment(d->imageComments);
        }
For the Exif comment, setExifComment():
        if (comment.isEmpty())
            return false;
Perhaps we can use isNull() instead of isEmpty()?
    
    
More information about the Digikam-devel
mailing list