mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
fix offroadTransition signal name
old-commit-hash: 624065cb5b0290c85533f40492b709e0822251e9
This commit is contained in:
@@ -114,7 +114,7 @@ DevicePanel::DevicePanel(QWidget* parent) : QWidget(parent) {
|
||||
|
||||
for(auto &btn : offroad_btns){
|
||||
device_layout->addWidget(horizontal_line());
|
||||
QObject::connect(parent, SIGNAL(offroadTransitions(bool)), btn, SLOT(setEnabled(bool)));
|
||||
QObject::connect(parent, SIGNAL(offroadTransition(bool)), btn, SLOT(setEnabled(bool)));
|
||||
device_layout->addWidget(btn);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
signals:
|
||||
void closeSettings();
|
||||
void offroadTransitions(bool offroad);
|
||||
void offroadTransition(bool offroad);
|
||||
void reviewTrainingGuide();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user