changeset 1313 | f4c54e9e1b8c |
parent 1312 | 0078e4f72d40 |
child 1314 | e56b178d6d62 |
--- a/QTfrontend/pages.cpp Wed Oct 08 10:58:21 2008 +0000 +++ b/QTfrontend/pages.cpp Wed Oct 08 13:40:29 2008 +0000 @@ -632,3 +632,10 @@ BtnJoin = addButton(tr("Join"), pageLayout, 1, 1); BtnRefresh = addButton(tr("Refresh"), pageLayout, 2, 1); } + +void PageRoomsList::setRoomsList(const QStringList & list) +{ + roomsList->clear(); + roomsList->addItems(list); + roomsList->sortItems(); +}