Files
d330viewer/src/gui/MainWindow_data_handler.cpp
2026-01-14 18:07:26 +08:00

10 lines
256 B
C++

void MainWindow::onDataReceived(const QByteArray &data)
{
static int packetCount = 0;
packetCount++;
if (packetCount % 100 == 0) {
qDebug() << "Received" << packetCount << "packets, latest size:" << data.size() << "bytes";
}
}