diff -r e56b178d6d62 -r c2f09811bb8c QTfrontend/pages.cpp --- a/QTfrontend/pages.cpp Wed Oct 08 13:52:31 2008 +0000 +++ b/QTfrontend/pages.cpp Wed Oct 08 13:54:51 2008 +0000 @@ -636,6 +636,7 @@ connect(BtnCreate, SIGNAL(clicked()), this, SLOT(onCreateClick())); connect(BtnJoin, SIGNAL(clicked()), this, SLOT(onJoinClick())); + connect(BtnRefresh, SIGNAL(clicked()), this, SLOT(onRefreshClick())); connect(roomsList, SIGNAL(doubleClicked (const QModelIndex &)), this, SLOT(onJoinClick())); } @@ -653,7 +654,7 @@ else QMessageBox::critical(this, tr("Error"), - tr("Please, select record from the list"), + tr("Please, enter room name"), tr("OK")); } @@ -671,3 +672,8 @@ emit askForJoinRoom(curritem->data(Qt::DisplayRole).toString()); } +void PageRoomsList::onRefreshClick() +{ + emit askForRoomList(); +} +