wip
This commit is contained in:
@@ -60,7 +60,7 @@ BodyWindow::BodyWindow(QWidget *parent) : QWidget(parent) {
|
||||
}
|
||||
)");
|
||||
|
||||
notifier = new QSocketNotifier(fileno(stdin), QSocketNotifier::Read);
|
||||
// notifier = new QSocketNotifier(fileno(stdin), QSocketNotifier::Read);
|
||||
QObject::connect(uiState(), &UIState::uiUpdate, this, &BodyWindow::updateState);
|
||||
}
|
||||
|
||||
@@ -115,11 +115,11 @@ void BodyWindow::updateState(const UIState &s) {
|
||||
// }
|
||||
// }
|
||||
|
||||
// void BodyWindow::offroadTransition(bool offroad) {
|
||||
void BodyWindow::offroadTransition(bool offroad) {
|
||||
// btn->setChecked(true);
|
||||
// btn->setEnabled(true);
|
||||
// fuel_filter.reset(1.0);
|
||||
// }
|
||||
}
|
||||
|
||||
// void BodyWindow::updateState(const UIState &s) {
|
||||
// if (!isVisible()) {
|
||||
|
||||
Reference in New Issue
Block a user