Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Built-in group icons not used in serverview.py #108

Open
Bluscream opened this issue Aug 24, 2018 · 0 comments
Open

Built-in group icons not used in serverview.py #108

Bluscream opened this issue Aug 24, 2018 · 0 comments

Comments

@Bluscream
Copy link
Contributor

Only icons sent by the server are working, not the ones provided by iconpacks.

See this little snippet from my plugin

if p[1] == 0: continue;
elif p[1] in range(100, 700, 100):
    item.setIcon(QIcon(IconPack.icon(icons,"group_{}".format(p[1]))))
else: item.setIcon(QIcon(ServerCache.icon(cache,p[1]&0xFFFFFFFF)))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant