Qt: Fixed behaviour of buttons by connecting functors to correct signals

Following screens got fixes:
- Configure/Debug
- Configure/Input
This commit is contained in:
Silent 2019-07-22 23:28:10 +02:00 committed by fearlessTobi
parent 9be9600bdc
commit 221250d922
7 changed files with 21 additions and 21 deletions

View file

@ -18,7 +18,7 @@ ConfigureDebug::ConfigureDebug(QWidget* parent) : QWidget(parent), ui(new Ui::Co
ui->setupUi(this);
SetConfiguration();
connect(ui->open_log_button, &QPushButton::pressed, []() {
connect(ui->open_log_button, &QPushButton::clicked, []() {
QString path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::LogDir));
QDesktopServices::openUrl(QUrl::fromLocalFile(path));
});