remove unused signal displayPowerChanged (#22719)

pull/22402/head
Dean Lee 4 years ago committed by GitHub
parent 51c4b3c34b
commit 3b936aaca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/ui/qt/home.h
  2. 1
      selfdrive/ui/qt/window.cc

@ -44,7 +44,6 @@ signals:
void closeSettings();
// forwarded signals
void displayPowerChanged(bool on);
void update(const UIState &s);
void offroadTransitionSignal(bool offroad);

@ -15,7 +15,6 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) {
QObject::connect(&qs, &QUIState::uiUpdate, homeWindow, &HomeWindow::update);
QObject::connect(&qs, &QUIState::offroadTransition, homeWindow, &HomeWindow::offroadTransition);
QObject::connect(&qs, &QUIState::offroadTransition, homeWindow, &HomeWindow::offroadTransitionSignal);
QObject::connect(&device, &Device::displayPowerChanged, homeWindow, &HomeWindow::displayPowerChanged);
settingsWindow = new SettingsWindow(this);
main_layout->addWidget(settingsWindow);

Loading…
Cancel
Save