CVS commit by ossi: somewhat crude way to disable locale-specific QListBox sorting. fwiw, QListBox sucks major ass in that regard ... not only that there is no clean way to disable locale-aware sorting, but it is also extremely slow due to the repeated calls to local8Bit in the sorting loop. M +2 -0 main.cpp 1.72 --- kdebase/kcontrol/kdm/main.cpp #1.71:1.72 @@ -44,4 +44,5 @@ #include #include +#include #include #include @@ -84,4 +85,5 @@ KDModule::KDModule(QWidget *parent, cons , updateOK(false) { + setlocale( LC_COLLATE, "C" ); KGlobal::locale()->insertCatalogue("kcmbackground");