Sort nicks in chat widget
authorunc0rr
Tue, 13 Jan 2009 20:40:43 +0000
changeset 1666 b66e014510e7
parent 1665 ab712cca3f5f
child 1667 f9f8613fdfbf
Sort nicks in chat widget
QTfrontend/chatwidget.cpp
--- a/QTfrontend/chatwidget.cpp	Tue Jan 13 20:36:02 2009 +0000
+++ b/QTfrontend/chatwidget.cpp	Tue Jan 13 20:40:43 2009 +0000
@@ -52,6 +52,7 @@
 	chatNicks = new QListWidget(this);
 	chatNicks->setMinimumHeight(10);
 	chatNicks->setMinimumWidth(10);
+	chatNicks->setSortingEnabled(true);
 	chatNicks->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
 	chatNicks->setContextMenuPolicy(Qt::ActionsContextMenu);
 	mainLayout.addWidget(chatNicks, 0, 1);