Skip to content
Snippets Groups Projects
Commit c527e0a0 authored by Denis Kurtz's avatar Denis Kurtz Committed by Daniel Vrátil
Browse files

Cache tags by name instead of gid

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.

BUG: 333754
FIXED-IN: 16.12

Differential Revision: https://phabricator.kde.org/D2434
parent cf7947b1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment