mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 10:32:10 +08:00
Fix build errors in qt/setup (#20795)
* fix build error * remove line Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 4bb3619a0ec8d4b76698d7b86e0f224495a6f1f1
This commit is contained in:
@@ -69,7 +69,7 @@ QWidget * Setup::build_page(QString title, QWidget *content, bool next, bool pre
|
||||
if (next) {
|
||||
QPushButton *continue_btn = new QPushButton("Continue");
|
||||
nav_layout->addWidget(continue_btn, 0, Qt::AlignBottom | Qt::AlignRight);
|
||||
QObject::connect(continue_btn, &QPushButton::released, this, &Setup:nextPage);
|
||||
QObject::connect(continue_btn, &QPushButton::released, this, &Setup::nextPage);
|
||||
}
|
||||
|
||||
main_layout->addLayout(nav_layout, 0);
|
||||
|
||||
@@ -39,9 +39,6 @@ WifiSetup::WifiSetup(QWidget *parent) {
|
||||
main_layout->addWidget(q, 1);
|
||||
|
||||
setLayout(main_layout);
|
||||
|
||||
QObject::connect(this, &WifiSetup::downloadFailed, this, &WifiSetup::nextPage);
|
||||
|
||||
setStyleSheet(R"(
|
||||
* {
|
||||
background-color: black;
|
||||
|
||||
Reference in New Issue
Block a user