From cbc9b5a58ea653bbbeb3ab57479b604313f88151 Mon Sep 17 00:00:00 2001 From: leverington Date: Sat, 16 Sep 2023 15:38:29 +0200 Subject: [PATCH] fixed type specify c++17 again --- hit2023v2/dialogtiscan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hit2023v2/dialogtiscan.cpp b/hit2023v2/dialogtiscan.cpp index 5c0277a..81c47bd 100644 --- a/hit2023v2/dialogtiscan.cpp +++ b/hit2023v2/dialogtiscan.cpp @@ -106,14 +106,14 @@ void DialogTiScan::run() //Collect sensor data histoReady = 0; - connect(&(theHW->eventBuilder), EventBuilder::sigHistoCompleted, this, DialogTiScan::onHistogramCompleted); + connect(&(theHW->eventBuilder), &EventBuilder::sigHistoCompleted, this, &DialogTiScan::onHistogramCompleted); theHW->eventBuilder.startTakingHistos(nacqs); while (!histoReady) { QCoreApplication::processEvents(); QThread::msleep(10); } - disconnect(&(theHW->eventBuilder), EventBuilder::sigHistoCompleted, this, DialogTiScan::onHistogramCompleted); + disconnect(&(theHW->eventBuilder), &EventBuilder::sigHistoCompleted, this, &DialogTiScan::onHistogramCompleted); QVector histos = theHW->eventBuilder.getHistos(); result.mean.fill(0, nr_devices*128);