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

@ -45,7 +45,7 @@ DirectConnectWindow::DirectConnectWindow(QWidget* parent)
// TODO(jroweboy): Show or hide the connection options based on the current value of the combo
// box. Add this back in when the traversal server support is added.
connect(ui->connect, &QPushButton::pressed, this, &DirectConnectWindow::Connect);
connect(ui->connect, &QPushButton::clicked, this, &DirectConnectWindow::Connect);
}
DirectConnectWindow::~DirectConnectWindow() = default;