Skip to content

Commit 12318fa

Browse files
committed
undo
1 parent b8f746b commit 12318fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

selfdrive/ui/qt/setup/setup.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ QWidget * Setup::download_error() {
284284

285285
widget->setStyleSheet(R"(
286286
QLabel {
287-
margin-left: 117px;
287+
margin-left: 117;
288288
}
289289
)");
290290
return widget;
@@ -367,8 +367,8 @@ Setup::Setup(QWidget *parent) : QStackedWidget(parent) {
367367
downloading_widget = downloading();
368368
addWidget(downloading_widget);
369369

370-
error_widget = download_error();
371-
addWidget(error_widget);
370+
failed_widget = download_failed();
371+
addWidget(failed_widget);
372372

373373
QLabel *url_label = new QLabel();
374374
invalid_url_widget = download_invalid_url(url_label);

selfdrive/ui/qt/setup/setup.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ class Setup : public QStackedWidget {
2222
QWidget *getting_started();
2323
QWidget *network_setup();
2424
QWidget *downloading();
25-
QWidget *download_error();
25+
QWidget *download_failed();
2626
QWidget *download_invalid_url(QLabel *url);
2727

28-
QWidget *error_widget;
28+
QWidget *failed_widget;
2929
QWidget *invalid_url_widget;
3030
QWidget *downloading_widget;
3131

0 commit comments

Comments
 (0)