--- a/QTfrontend/ui/page/pageroomslist.cpp Mon Dec 02 17:13:22 2013 +0100
+++ b/QTfrontend/ui/page/pageroomslist.cpp Mon Dec 02 23:20:07 2013 +0400
@@ -169,11 +169,6 @@
stateMenu->addAction(showGamesInProgress);
btnState->setMenu(stateMenu);
- // Clear filters button
-
- BtnClear = addButton(tr("Clear filters"), filterLayout, 0);
- BtnClear->setStyleSheet("padding: 4px;");
-
// Lobby chat
chatWidget = new HWChatWidget(this, false);
@@ -199,7 +194,6 @@
connect(BtnCreate, SIGNAL(clicked()), this, SLOT(onCreateClick()));
connect(BtnJoin, SIGNAL(clicked()), this, SLOT(onJoinClick()));
- connect(BtnClear, SIGNAL(clicked()), this, SLOT(onClearClick()));
connect(searchText, SIGNAL(moveUp()), this, SLOT(moveSelectionUp()));
connect(searchText, SIGNAL(moveDown()), this, SLOT(moveSelectionDown()));
connect(searchText, SIGNAL(returnPressed()), this, SLOT(onJoinClick()));
@@ -531,14 +525,6 @@
emit askForRoomList();
}
-void PageRoomsList::onClearClick()
-{
- showGamesInLobby->setChecked(true);
- showGamesInProgress->setChecked(true);
- searchText->clear();
- searchText->setFocus();
-}
-
void PageRoomsList::onJoinConfirmation(const QString & room)
{