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:
Silent 2019-07-22 23:28:10 +02:00
parent a9df1c29f9
commit 4fd22c6a14
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
8 changed files with 22 additions and 21 deletions

View file

@ -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);