replay: replace Qt data types with standard C++ data types (#33823)

replace Qt data types with c++ data types
This commit is contained in:
Dean Lee
2024-10-20 03:29:15 +08:00
committed by GitHub
parent debd71ebec
commit 30853a2c41
11 changed files with 148 additions and 92 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ void ConsoleUI::updateProgressBar(uint64_t cur, uint64_t total, bool success) {
void ConsoleUI::updateSummary() {
const auto &route = replay->route();
mvwprintw(w[Win::Stats], 0, 0, "Route: %s, %lu segments", qPrintable(route->name()), route->segments().size());
mvwprintw(w[Win::Stats], 0, 0, "Route: %s, %lu segments", route->name().c_str(), route->segments().size());
mvwprintw(w[Win::Stats], 1, 0, "Car Fingerprint: %s", replay->carFingerprint().c_str());
wrefresh(w[Win::Stats]);
}