summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/options-dialog.cpp2
-rw-r--r--gui/process_detector.cpp6
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp2
-rw-r--r--tracker-pt/ftnoir_tracker_pt_dialog.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 814cf298..c6e6dd97 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -104,7 +104,7 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
val.label,
[=](const QString&) -> void { val.label->setText(kopts_to_string(val.opt)); });
{
- connect(val.button, &QPushButton::pressed, this, [=]() -> void { bind_key(val.opt, val.label); });
+ connect(val.button, &QPushButton::clicked, this, [=]() -> void { bind_key(val.opt, val.label); });
}
}
diff --git a/gui/process_detector.cpp b/gui/process_detector.cpp
index f0a66fa5..1a5cbb9d 100644
--- a/gui/process_detector.cpp
+++ b/gui/process_detector.cpp
@@ -88,7 +88,7 @@ int process_detector::add_row(QString exe_name, QString profile)
{
BrowseButton* b = new BrowseButton(twi);
b->setText("...");
- QObject::connect(b, SIGNAL(pressed()), b, SLOT(browse()));
+ QObject::connect(b, SIGNAL(clicked()), b, SLOT(browse()));
ui.tableWidget->setCellWidget(i, 2, b);
}
@@ -111,8 +111,8 @@ process_detector::process_detector(QWidget* parent) : QWidget(parent)
{
ui.setupUi(this);
setFixedSize(size());
- connect(ui.add, SIGNAL(pressed()), this, SLOT(add()));
- connect(ui.remove, SIGNAL(pressed()), this, SLOT(remove()));
+ connect(ui.add, SIGNAL(clicked()), this, SLOT(add()));
+ connect(ui.remove, SIGNAL(clicked()), this, SLOT(remove()));
add_items();
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index a3fa9941..2013dddb 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -423,7 +423,7 @@ TrackerControls::TrackerControls()
connect(ui.btn_calibrate, SIGNAL(clicked()), this, SLOT(toggleCalibrate()));
connect(this, SIGNAL(destroyed()), this, SLOT(cleanupCalib()));
connect(&calib_timer, SIGNAL(timeout()), this, SLOT(update_tracker_calibration()));
- connect(ui.camera_settings, SIGNAL(pressed()), this, SLOT(camera_settings()));
+ connect(ui.camera_settings, SIGNAL(clicked()), this, SLOT(camera_settings()));
}
void TrackerControls::toggleCalibrate()
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
index 8c3ec27f..9b09722f 100644
--- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp
+++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
@@ -71,7 +71,7 @@ TrackerDialog_PT::TrackerDialog_PT()
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
connect(&timer,SIGNAL(timeout()), this,SLOT(poll_tracker_info()));
- connect(ui.camera_settings, SIGNAL(pressed()), this, SLOT(camera_settings()));
+ connect(ui.camera_settings, SIGNAL(clicked()), this, SLOT(camera_settings()));
timer.start(250);
}