diff --git a/selfdrive/ui/qt/ready.cc b/selfdrive/ui/qt/ready.cc index 1c6301d..aa82f52 100644 --- a/selfdrive/ui/qt/ready.cc +++ b/selfdrive/ui/qt/ready.cc @@ -32,7 +32,6 @@ ReadyWindow::ReadyWindow(QWidget *parent) : QWidget(parent) { timer->callOnTimeout(this, &ReadyWindow::refresh); } - void ReadyWindow::showEvent(QShowEvent *event) { refresh(); timer->start(5 * 1000); diff --git a/selfdrive/ui/qt/ready.h b/selfdrive/ui/qt/ready.h index f2132d6..c2bb4d8 100644 --- a/selfdrive/ui/qt/ready.h +++ b/selfdrive/ui/qt/ready.h @@ -28,8 +28,4 @@ private: QString cur_temp; QPixmap img_ready; QPixmap img_hot; - -private slots: - void showEvent(QShowEvent *event) override; - void hideEvent(QHideEvent *event) override; }; \ No newline at end of file