[Digikam-devel] [Bug 96894] Wish: easier navigation between albums, tags and collections

Arnd Baecker arnd.baecker at web.de
Fri Sep 28 21:55:14 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=96894         
arnd.baecker web de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21701|0                           |1
        is obsolete|                            |



------- Additional Comments From arnd.baecker web de  2007-09-28 22:55 -------
Created an attachment (id=21709)
 --> (http://bugs.kde.org/attachment.cgi?id=21709&action=view)
goto patch, origin of empty dates in history found

The origin of the empty entries in the history for date folders is
that in album.cpp the title was not defined. With 
the following change at least a reasonable title is displayed.

DAlbum::DAlbum(const QDate& date, bool root)
      : Album(Album::DATE, root ? 0 : ++m_uniqueID, root),
	      m_date(date)
{
    // Set the name of the album
    // FIXME - could there be an internationalization issue here?
    QString date_title = date.toString("ddd MMM d yyyy");
    setTitle(date_title);
}


However, I am not sure, whether this is ok for internationalization issues.
Also the format might be subject to discussion, in particular,
if only a month is selected, and not an individual day/week.
(Not sure if this can be detected...)



More information about the Digikam-devel mailing list