diff --git a/selfdrive/ui/qt/home.cc b/selfdrive/ui/qt/home.cc index b752622..4dcb41c 100644 --- a/selfdrive/ui/qt/home.cc +++ b/selfdrive/ui/qt/home.cc @@ -87,8 +87,7 @@ void HomeWindow::offroadTransition(bool offroad) { body->setEnabled(false); if (offroad) { sidebar->setVisible(false); - // slayout->setCurrentWidget(ready); - slayout->setCurrentWidget(home); + slayout->setCurrentWidget(ready); // this->showDriverView(true, true); // Temp } else { sidebar->setVisible(false); @@ -189,6 +188,8 @@ OffroadHome::OffroadHome(QWidget* parent) : QFrame(parent) { QHBoxLayout *home_layout = new QHBoxLayout(home_widget); home_layout->setContentsMargins(0, 0, 0, 0); home_layout->setSpacing(30); + + // Clearpilot: removed home ui widgets } center_layout->addWidget(home_widget); diff --git a/system/clearpilot/tools/qt_webview.cc b/system/clearpilot/tools/qt_webview.cc index 9d23919..6484ffc 100644 --- a/system/clearpilot/tools/qt_webview.cc +++ b/system/clearpilot/tools/qt_webview.cc @@ -57,9 +57,9 @@ int main(int argc, char *argv[]) { layout->setSpacing(0); layout->setContentsMargins(0, 0, 0, 0); - QString url = args.first(); + // QString url = args.first(); QWebEngineView *web_view = new QWebEngineView(); - web_view->load(QUrl(url)); + web_view->load(QUrl("http://www.fark.com/")); layout->addWidget(web_view); return app.exec();