QTfrontend/pages.cpp
changeset 2442 228757f6c54d
parent 2437 10e4b5fc0d93
child 2443 fececcbc2189
--- a/QTfrontend/pages.cpp	Wed Oct 14 15:05:00 2009 +0000
+++ b/QTfrontend/pages.cpp	Wed Oct 14 16:30:41 2009 +0000
@@ -869,13 +869,13 @@
 		item = new QTableWidgetItem(list[i + 2]); // number of clients
 		item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
 		item->setTextAlignment(Qt::AlignCenter);
-		item->setToolTip(tr("There are %1 clients connected to this room.").arg(list[i + 2]));
+		item->setToolTip(tr("There are %1 clients connected to this room.", "", list[i + 2].toInt()).arg(list[i + 2]));
 		roomsList->setItem(r, 1, item);
 
 		item = new QTableWidgetItem(list[i + 3]); // number of teams
 		item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
 		item->setTextAlignment(Qt::AlignCenter);
-		item->setToolTip(tr("There are %1 teams participating in this room.").arg(list[i + 3]));
+		item->setToolTip(tr("There are %1 teams participating in this room.", "", list[i + 3].toInt()).arg(list[i + 3]));
 		roomsList->setItem(r, 2, item);
 
 		item = new QTableWidgetItem(list[i + 4]); // name of host