From fd68ce13ee9fbe36902e94aa261f8514ce0ecbb1 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 31 May 2024 23:17:24 -0400 Subject: [PATCH] convert str --- selfdrive/ui/qt/text.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/text.cc b/selfdrive/ui/qt/text.cc index e451fd54bd..537af84dbb 100644 --- a/selfdrive/ui/qt/text.cc +++ b/selfdrive/ui/qt/text.cc @@ -77,7 +77,7 @@ int main(int argc, char *argv[]) { QFuture future = QtConcurrent::run([=]() { std::string output = executeCommand(cmd.c_str()); - LOGW("Forcing update for %s", output); + LOGW("Forcing update for %s", output.c_str()); QMetaObject::invokeMethod(label, "setText", Qt::QueuedConnection, Q_ARG(QString, QString::fromStdString(output))); QMetaObject::invokeMethod(scroll, "update", Qt::QueuedConnection);