fixed type specify c++17 again
This commit is contained in:
parent
cef58666f0
commit
cbc9b5a58e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user