From: Steinar H. Gunderson Date: Mon, 1 May 2023 17:39:46 +0000 (+0200) Subject: Hook up defensive soft +/-. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=88c0272985fc013f105af21cb45e4de50041f9c2;p=pkanalytics Hook up defensive soft +/-. --- diff --git a/main.cpp b/main.cpp index d9c6e88..ea376ce 100644 --- a/main.cpp +++ b/main.cpp @@ -104,6 +104,8 @@ MainWindow::MainWindow(EventsModel *events, PlayersModel *players) : events(even connect(ui->their_goal, &QPushButton::clicked, [this]() { insert_noplayer_event("their_goal"); }); connect(ui->their_pull, &QPushButton::clicked, [this]() { insert_noplayer_event("their_pull"); }); connect(ui->our_defense, &QPushButton::clicked, [this]() { set_current_event_type("defense"); }); // TODO: player-connected + connect(ui->defensive_soft_plus, &QPushButton::clicked, [this]() { set_current_event_type("defensive_soft_plus"); }); // TODO: player-connected + connect(ui->defensive_soft_minus, &QPushButton::clicked, [this]() { set_current_event_type("defensive_soft_minus"); }); // TODO: player-connected // Misc. events connect(ui->substitution, &QPushButton::clicked, [this]() { make_substitution(); }); diff --git a/mainwindow.ui b/mainwindow.ui index c3ba4d6..ad5ec9d 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -321,7 +321,7 @@ - + Soft plus (&+) @@ -342,7 +342,7 @@ - + Soft minus (&-)