mirror of https://github.com/commaai/openpilot.git
prime.cc/typo: Fixes variable name typo (#33678)
Fixes variable name typo
This commit is contained in:
parent
4a2c24b5b3
commit
c6cd23210c
|
@ -180,20 +180,20 @@ SetupWidget::SetupWidget(QWidget* parent) : QFrame(parent) {
|
|||
|
||||
QFrame* finishRegistration = new QFrame;
|
||||
finishRegistration->setObjectName("primeWidget");
|
||||
QVBoxLayout* finishRegistationLayout = new QVBoxLayout(finishRegistration);
|
||||
finishRegistationLayout->setSpacing(38);
|
||||
finishRegistationLayout->setContentsMargins(64, 48, 64, 48);
|
||||
QVBoxLayout* finishRegistrationLayout = new QVBoxLayout(finishRegistration);
|
||||
finishRegistrationLayout->setSpacing(38);
|
||||
finishRegistrationLayout->setContentsMargins(64, 48, 64, 48);
|
||||
|
||||
QLabel* registrationTitle = new QLabel(tr("Finish Setup"));
|
||||
registrationTitle->setStyleSheet("font-size: 75px; font-weight: bold;");
|
||||
finishRegistationLayout->addWidget(registrationTitle);
|
||||
finishRegistrationLayout->addWidget(registrationTitle);
|
||||
|
||||
QLabel* registrationDescription = new QLabel(tr("Pair your device with comma connect (connect.comma.ai) and claim your comma prime offer."));
|
||||
registrationDescription->setWordWrap(true);
|
||||
registrationDescription->setStyleSheet("font-size: 50px; font-weight: light;");
|
||||
finishRegistationLayout->addWidget(registrationDescription);
|
||||
finishRegistrationLayout->addWidget(registrationDescription);
|
||||
|
||||
finishRegistationLayout->addStretch();
|
||||
finishRegistrationLayout->addStretch();
|
||||
|
||||
QPushButton* pair = new QPushButton(tr("Pair device"));
|
||||
pair->setStyleSheet(R"(
|
||||
|
@ -208,7 +208,7 @@ SetupWidget::SetupWidget(QWidget* parent) : QFrame(parent) {
|
|||
background-color: #3049F4;
|
||||
}
|
||||
)");
|
||||
finishRegistationLayout->addWidget(pair);
|
||||
finishRegistrationLayout->addWidget(pair);
|
||||
|
||||
popup = new PairingPopup(this);
|
||||
QObject::connect(pair, &QPushButton::clicked, popup, &PairingPopup::exec);
|
||||
|
|
Loading…
Reference in New Issue