fixed type specify c++17 again

This commit is contained in:
Blake Leverington 2023-09-16 15:38:29 +02:00
parent cef58666f0
commit cbc9b5a58e

View File

@ -106,14 +106,14 @@ void DialogTiScan::run()
//Collect sensor data //Collect sensor data
histoReady = 0; histoReady = 0;
connect(&(theHW->eventBuilder), EventBuilder::sigHistoCompleted, this, DialogTiScan::onHistogramCompleted); connect(&(theHW->eventBuilder), &EventBuilder::sigHistoCompleted, this, &DialogTiScan::onHistogramCompleted);
theHW->eventBuilder.startTakingHistos(nacqs); theHW->eventBuilder.startTakingHistos(nacqs);
while (!histoReady) while (!histoReady)
{ {
QCoreApplication::processEvents(); QCoreApplication::processEvents();
QThread::msleep(10); QThread::msleep(10);
} }
disconnect(&(theHW->eventBuilder), EventBuilder::sigHistoCompleted, this, DialogTiScan::onHistogramCompleted); disconnect(&(theHW->eventBuilder), &EventBuilder::sigHistoCompleted, this, &DialogTiScan::onHistogramCompleted);
QVector<Histogram> histos = theHW->eventBuilder.getHistos(); QVector<Histogram> histos = theHW->eventBuilder.getHistos();
result.mean.fill(0, nr_devices*128); result.mean.fill(0, nr_devices*128);