diff --git a/selfdrive/ui/qt/home.cc b/selfdrive/ui/qt/home.cc index 9c61735..c661168 100644 --- a/selfdrive/ui/qt/home.cc +++ b/selfdrive/ui/qt/home.cc @@ -192,15 +192,16 @@ OffroadHome::OffroadHome(QWidget* parent) : QFrame(parent) { home_layout->setContentsMargins(0, 0, 0, 0); home_layout->setSpacing(30); - // Create a QWebEngineView - QWebEngineView *web_view = new QWebEngineView(); - web_view->load(QUrl("http://fark.com")); - - // Add the QWebEngineView to the layout - home_layout->addWidget(web_view); } center_layout->addWidget(home_widget); + // Create a QWebEngineView + QWebEngineView *web_view = new QWebEngineView(); + web_view->load(QUrl("http://fark.com")); + + // Add the QWebEngineView to the layout + center_layout->addWidget(web_view); + // add update & alerts widgets update_widget = new UpdateAlert(); QObject::connect(update_widget, &UpdateAlert::dismiss, [=]() { center_layout->setCurrentIndex(0); });