瀏覽代碼

Update MainWindow.cpp

huihui 5 年之前
父節點
當前提交
df9a9d0265
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/MainWindow.cpp

+ 2 - 2
src/MainWindow.cpp

@@ -167,7 +167,7 @@ void MainWindow::slotTimerTimeOut()
 			curTime = QString("%1:%2:%3").arg(hStr).arg(mStr.right(2)).arg(sStr.right(2));
 		}
 
-		ui.label_currenttime->setText(curTime);
+        ui->label_currenttime->setText(curTime);
     }
     else if (QObject::sender() == mTimer_CheckControlWidget)
     {
@@ -276,7 +276,7 @@ void MainWindow::onTotalTimeChanged(const int64_t &uSec)
 			totalTime = QString("%1:%2:%3").arg(hStr).arg(mStr.right(2)).arg(sStr.right(2));
 		}
 
-		ui.label_totaltime->setText(totalTime);
+        ui->label_totaltime->setText(totalTime);
     });
 }