|
|
@@ -132,7 +132,9 @@ void MainWindow::onUpdateScreen(const QJsonObject &obj)
|
|
|
|
|
|
ProjectManager &projectMgr = AppContext::instance().projectManager();
|
|
|
int canvasCount = projectMgr.canvasCount();
|
|
|
-
|
|
|
+ QString timestamp = obj["timestamp"].toString();
|
|
|
+ LOG_DEBUG("timestamp {}", timestamp.toStdString());
|
|
|
+ timestamp = QString("%1").arg(timestamp.toULongLong() / 1000000);
|
|
|
QList<QWidget *> widgets;
|
|
|
QList<QStringList> parameters;
|
|
|
|
|
|
@@ -170,7 +172,7 @@ void MainWindow::onUpdateScreen(const QJsonObject &obj)
|
|
|
Qt::AutoConnection,
|
|
|
Q_ARG(QString, parameter),
|
|
|
Q_ARG(QVariant, obj[parameter].toVariant()),
|
|
|
- Q_ARG(QString, Utils::timestamp()));
|
|
|
+ Q_ARG(QString, timestamp));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -182,7 +184,7 @@ void MainWindow::onUpdateScreen(const QJsonObject &obj)
|
|
|
}
|
|
|
|
|
|
qint64 duration = timer.elapsed(); // 获取经过的毫秒数
|
|
|
- LOG_INFO("update screen duration: {}ms", duration);
|
|
|
+ LOG_DEBUG("update screen duration: {}ms", duration);
|
|
|
}
|
|
|
|
|
|
void MainWindow::onPageSwitdh(int state)
|