mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
cabana: fix MacOS build (#27950)
old-commit-hash: af5f769d7cf5443ca01e753326b751894f786f99
This commit is contained in:
@@ -497,8 +497,8 @@ void MainWindow::updateLoadSaveMenus() {
|
||||
}
|
||||
|
||||
QStringList title;
|
||||
for (auto &[filename, sources] : dbc_files) {
|
||||
QString bus = dbc_files.size() == 1 ? "all" : sources.join(",");
|
||||
for (auto &[filename, src] : dbc_files) {
|
||||
QString bus = dbc_files.size() == 1 ? "all" : src.join(",");
|
||||
title.push_back("[" + bus + "]" + QFileInfo(filename).baseName());
|
||||
}
|
||||
setWindowFilePath(title.join(" | "));
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "tools/cabana/util.h"
|
||||
|
||||
#include <QFontDatabase>
|
||||
#include <QHelpEvent>
|
||||
#include <QPainter>
|
||||
#include <QPixmapCache>
|
||||
#include <QToolTip>
|
||||
|
||||
Reference in New Issue
Block a user