On Wednesday 19 March 2003 12:08, Bernard Cafarelli (Voyageur) wrote: > Wow, nice & fast :) > > Beware though that clicking on the alias column title doesn't sort > anymore (but double clicking still reverses the list).
Well, originally this was what this "sort by online status" thing was for. but i see that it can be confusing in some way. if you turn off this special sorting everything works like you expect it. Please find a patch attached to this mail, try it. This makes it even more user friendly and transparent behaviour. Is this what you were looking for? Thomas
Index: userbox.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/userbox.cpp,v
retrieving revision 1.139
diff -u -3 -p -r1.139 userbox.cpp
--- userbox.cpp 18 Mar 2003 17:03:56 -0000 1.139
+++ userbox.cpp 19 Mar 2003 13:33:07 -0000
@@ -719,10 +719,7 @@ QString CUserViewItem::key (int column,
if (column == 0)
return (m_sPrefix + m_sSortKey + text(1).lower());
else
- if(gMainWindow->m_nSortByStatus > 0)
- return(m_sPrefix + m_sSortKey + QListViewItem::key(column, ascending).lower());
- else
- return(QListViewItem::key(column, ascending).lower());
+ return(QListViewItem::key(column, ascending).lower());
}
UserFloatyList* CUserView::floaties = 0;
pgp00000.pgp
Description: signature
