linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #07630
[Bug 309815] Re: [Feature Request] Different hub icons for different user status (User/Reg/Admin)
1) I don't see how performance would be improved by constantly checking
'self'. The UserUpdated listener will trigger for _every_ user. "The
desire is to decrease amount of listeners" is a valid design reason or
argument, but don't claim that it will be slower by having another
listener. It's not a problem for me to use the UserUpdated listener, but
be aware of preceeding notes. poy, your verdict?
2) Looking at the differences between vector and list, it is clear that
any argument stems from the fact that you do an operation (or likewise)
often and can thus have an adequate reason for choosing one over the
other. However, in this case, where we are likely only going to use 2 or
3 items (I considered just adding simple parameters: icon1, icon2, icon3
etc), the question about what structure is used is relatively moot. In
fact, I've probably wasted more computer resources by typing this than
will ever be affected by any choice here. (I have changed it to vector
in my local copy, since poy asked nicely.)
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/309815
Title:
[Feature Request] Different hub icons for different user status
(User/Reg/Admin)
Status in DC++:
In Progress
Bug description:
I usually have 40~50 hub open and some times hubs lost your reg, and
you must register agian.
But checking where you are a normal user (not reg/not admin) is a
pain, so i'd like to have different icons in the hub tabs to show you
if yo you are a normal user, reg or admin of each hub in tab list.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/309815/+subscriptions