[Psi-Devel] Options and instance of PsiCon

Kevin Smith kevin at kismith.co.uk
Sun Feb 15 02:46:43 PST 2009


On Sat, Feb 14, 2009 at 5:36 PM, Aleksey Sergushichev
<alsergbox at gmail.com> wrote:
> I wanted to add contact-sort-style option to options dialog.
> I've written some code but there is some problem. To apply
> this option we need to resort ContactView but I couldn't
> find way to get instance of it in src/options/opt_advanced.cpp.
> May be it's need to make singleton from PsiCon or something
> like that?

You don't want to do that - the options will throw a signal when they
change, and you can connect to that.

Best,
/K


More information about the Psi-Devel mailing list