|
|
@ -147,7 +147,7 @@ DevicePanel::DevicePanel(QWidget* parent) : ListWidget(parent) { |
|
|
|
if (Hardware::TICI()) { |
|
|
|
if (Hardware::TICI()) { |
|
|
|
regulatoryBtn = new ButtonControl("Regulatory", "VIEW", ""); |
|
|
|
regulatoryBtn = new ButtonControl("Regulatory", "VIEW", ""); |
|
|
|
connect(regulatoryBtn, &ButtonControl::clicked, [=]() { |
|
|
|
connect(regulatoryBtn, &ButtonControl::clicked, [=]() { |
|
|
|
const std::string txt = util::read_file(ASSET_PATH.toStdString() + "/offroad/fcc.html"); |
|
|
|
const std::string txt = util::read_file("../assets/offroad/fcc.html"); |
|
|
|
RichTextDialog::alert(QString::fromStdString(txt), this); |
|
|
|
RichTextDialog::alert(QString::fromStdString(txt), this); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|