[Differential] [Request, 16 lines] D2434: Cache tags by name instead of gid
dkurz (Denis Kurz)
noreply at phabricator.kde.org
Sat Aug 13 13:51:37 BST 2016
dkurz created this revision.
dkurz added a reviewer: KDE PIM.
dkurz set the repository for this revision to rCALENDARSUPPORT PIM: Calendar Support.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: kde-pim.
REVISION SUMMARY
To set and retrieve category colors, a TagCache is used, where tags are stored by gid. So far, the utf8 encoding of a tag's name was used to retrieve a tag from the cache. In general, however, the gid of a tag is not the same as its name. Since the gid may be unknown when looking for a tag's color, this change switches to the tags' names for keys.
Fixes Bug 333754
REPOSITORY
rCALENDARSUPPORT PIM: Calendar Support
REVISION DETAIL
https://phabricator.kde.org/D2434
AFFECTED FILES
src/kcalprefs.cpp
src/tagcache.cpp
src/tagcache.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: dkurz, #kde_pim
Cc: kde-pim, spencerb, dvasin, winterz, smartins, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20160813/02983e9a/attachment.html>
More information about the kde-pim
mailing list