From 3b936aaca9af3da1cdce0635cf9d539e8ad574b8 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Fri, 29 Oct 2021 18:09:03 +0800 Subject: [PATCH] remove unused signal displayPowerChanged (#22719) --- selfdrive/ui/qt/home.h | 1 - selfdrive/ui/qt/window.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/selfdrive/ui/qt/home.h b/selfdrive/ui/qt/home.h index e133710bcd..0e65ef05e9 100644 --- a/selfdrive/ui/qt/home.h +++ b/selfdrive/ui/qt/home.h @@ -44,7 +44,6 @@ signals: void closeSettings(); // forwarded signals - void displayPowerChanged(bool on); void update(const UIState &s); void offroadTransitionSignal(bool offroad); diff --git a/selfdrive/ui/qt/window.cc b/selfdrive/ui/qt/window.cc index bfa047e454..796feac8e4 100644 --- a/selfdrive/ui/qt/window.cc +++ b/selfdrive/ui/qt/window.cc @@ -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);