Fix for rooms list + Qt 4.5 by TheXception
authorunc0rr
Sun, 15 Mar 2009 12:58:23 +0000
changeset 1891 47e832a88cbd
parent 1890 de5cfe3beb22
child 1892 fddc1201df25
Fix for rooms list + Qt 4.5 by TheXception
QTfrontend/pages.cpp
--- a/QTfrontend/pages.cpp	Fri Mar 13 21:39:59 2009 +0000
+++ b/QTfrontend/pages.cpp	Sun Mar 15 12:58:23 2009 +0000
@@ -804,7 +804,7 @@
 		for(int t = 0; t < 3; t++)
 		{
 			QTableWidgetItem * item = new QTableWidgetItem(list[i + t]);
-			item->setFlags(Qt::ItemIsSelectable);
+			item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
 			roomsList->setItem(i / 3, t, item);
 		}
 	//roomsList->resizeColumnsToContents();