diff --git a/hit2023v2/mainwindow.cpp b/hit2023v2/mainwindow.cpp index caa9a54..9e07b1e 100644 --- a/hit2023v2/mainwindow.cpp +++ b/hit2023v2/mainwindow.cpp @@ -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); + }