From f0970629b6c53dfc392d0a4c04ff8b6cea3a0115 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 17 Dec 2024 16:23:59 -0800 Subject: [PATCH] whoop --- selfdrive/ui/qt/offroad/driverview.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/qt/offroad/driverview.cc b/selfdrive/ui/qt/offroad/driverview.cc index 8d738d4fabca2b..56aef09a8ff5ea 100644 --- a/selfdrive/ui/qt/offroad/driverview.cc +++ b/selfdrive/ui/qt/offroad/driverview.cc @@ -70,8 +70,8 @@ DriverViewDialog::DriverViewDialog(QWidget *parent) : DialogBase(parent) { QVBoxLayout *main_layout = new QVBoxLayout(this); main_layout->setContentsMargins(0, 0, 0, 0); DriverViewWindow camera(this); - main_layout->addWidget(camera); - QObject::connect(camera, &DriverViewWindow::clicked, this, &DialogBase::accept); + main_layout->addWidget(&camera); + QObject::connect(&camera, &DriverViewWindow::clicked, this, &DialogBase::accept); QObject::connect(device(), &Device::interactiveTimeout, this, &DialogBase::accept); }