This commit is contained in:
Your Name
2024-05-10 00:30:18 -05:00
parent 5ae270a958
commit 9b846f82d7

View File

@@ -192,14 +192,15 @@ OffroadHome::OffroadHome(QWidget* parent) : QFrame(parent) {
home_layout->setContentsMargins(0, 0, 0, 0); home_layout->setContentsMargins(0, 0, 0, 0);
home_layout->setSpacing(30); home_layout->setSpacing(30);
}
center_layout->addWidget(home_widget);
// Create a QWebEngineView // Create a QWebEngineView
QWebEngineView *web_view = new QWebEngineView(); QWebEngineView *web_view = new QWebEngineView();
web_view->load(QUrl("http://fark.com")); web_view->load(QUrl("http://fark.com"));
// Add the QWebEngineView to the layout // Add the QWebEngineView to the layout
home_layout->addWidget(web_view); center_layout->addWidget(web_view);
}
center_layout->addWidget(home_widget);
// add update & alerts widgets // add update & alerts widgets
update_widget = new UpdateAlert(); update_widget = new UpdateAlert();