Qt: Fixed behaviour of buttons by connecting functors to correct signals
Following screens got fixes: - Cheats - Configure/Debug - Configure/Input - Chat Room - Direct Connect - Host - Lobby List
This commit is contained in:
parent
a9df1c29f9
commit
4fd22c6a14
8 changed files with 22 additions and 21 deletions
|
@ -63,7 +63,7 @@ Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
|
|||
}
|
||||
|
||||
// UI Buttons
|
||||
connect(ui->refresh_list, &QPushButton::pressed, this, &Lobby::RefreshLobby);
|
||||
connect(ui->refresh_list, &QPushButton::clicked, this, &Lobby::RefreshLobby);
|
||||
connect(ui->games_owned, &QCheckBox::toggled, proxy, &LobbyFilterProxyModel::SetFilterOwned);
|
||||
connect(ui->hide_full, &QCheckBox::toggled, proxy, &LobbyFilterProxyModel::SetFilterFull);
|
||||
connect(ui->search, &QLineEdit::textChanged, proxy, &LobbyFilterProxyModel::SetFilterSearch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue