From 144cd50017088ea0fd7091bbed2a9ce19f27df35 Mon Sep 17 00:00:00 2001 From: ldh <17393183636@163.com> Date: Fri, 6 Nov 2026 14:46:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 0d3368b..373b72f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -116,6 +116,7 @@ MainWindow::MainWindow(QWidget *parent) : // 依次发送(回零等 2 秒,其余每条等 0.5 秒)。详见 startInstrumentInitialization / // moveLensToAngle / runNextCommand。 + measurementTimer = new QTimer(this); connect(measurementTimer, &QTimer::timeout, this, &MainWindow::onMeasurementTimeout);