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
|
@ -49,7 +49,7 @@ HostRoomWindow::HostRoomWindow(QWidget* parent, QStandardItemModel* list,
|
|||
ui->game_list->setModel(proxy);
|
||||
|
||||
// Connect all the widgets to the appropriate events
|
||||
connect(ui->host, &QPushButton::pressed, this, &HostRoomWindow::Host);
|
||||
connect(ui->host, &QPushButton::clicked, this, &HostRoomWindow::Host);
|
||||
|
||||
// Restore the settings:
|
||||
ui->username->setText(UISettings::values.room_nickname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue