On Tuesday 18 March 2003 12:56, Bernard Cafarelli (Voyageur) wrote: > Hello list, I just updated my licq CVS (after a little tweaking to make > the compilation work with my old qt2), and now my contact list is always > sorted alphabetically. I guess this can be handy if the list is quite > big, but I have many groups and I found the sorting by 'last event' > (connection, message, ...) more practical(in my case). > > Still I couldn't find a new option (like the sorting by state one) to > change this behavior. Which file tweaking can do the trick?
Hi,
this has been changed recently to fix alphabetical sorting.
Maybe we make this an option.
For now you can have old behaviour back by changing line 356 in userbox.cpp
old:
m_sSortKey.sprintf("%1x",sort);
into new:
m_sSortKey.sprintf("%1x%016lx",sort, ULONG_MAX - u->Touched());
and enable "Sort online users by status" in the options.
Thomas
pgp00000.pgp
Description: signature
