fixed connect in mainwindow errors

This commit is contained in:
Blake Leverington 2023-09-16 14:51:57 +02:00
parent 99ed8f54d6
commit 55ec09f3f5

View File

@ -29,8 +29,12 @@ MainWindow::MainWindow(QWidget *parent) :
theKeithley = new keithley_thr;
theStepper = new Stepper;
connect(&timer, QTimer::timeout, this, on_timer);
connect(theKeithley, keithley_thr::esig_newCurrentReadout, this, MainWindow::on_newCurrentReadout);
// connect(&timer, QTimer::timeout, this, on_timer);
connect(&timer, &QTimer::timeout, this, &MainWindow::on_timer);
// connect(theKeithley, keithley_thr::esig_newCurrentReadout, this, MainWindow::on_newCurrentReadout);
connect(theKeithley, &keithley_thr::esig_newCurrentReadout, this, &MainWindow::on_newCurrentReadout);
}