mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-24 12:02:07 +08:00
convert str
This commit is contained in:
@@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
QFuture<void> 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);
|
||||
|
||||
Reference in New Issue
Block a user