fixed type specify c++17 again
This commit is contained in:
parent
cbc9b5a58e
commit
3a96bcd6a3
@ -57,14 +57,14 @@ void DialogProfiler::run(int nr_loops)
|
|||||||
|
|
||||||
//Collect sensor data
|
//Collect sensor data
|
||||||
histoReady = 0;
|
histoReady = 0;
|
||||||
connect(&(theHW->eventBuilder), EventBuilder::sigHistoCompleted, this, DialogProfiler::onHistogramCompleted);
|
connect(&(theHW->eventBuilder), &EventBuilder::sigHistoCompleted, this, &DialogProfiler::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, DialogProfiler::onHistogramCompleted);
|
disconnect(&(theHW->eventBuilder), &EventBuilder::sigHistoCompleted, this, &DialogProfiler::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);
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user