mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-09 19:39:00 +08:00
Fix Wifi UI not working on PC (#2597)
old-commit-hash: 3a7fcc62fb5bdadab0122625114d5b5e99a3e47e
This commit is contained in:
@@ -48,6 +48,9 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) {
|
||||
|
||||
#ifdef QCOM2
|
||||
set_core_affinity(7);
|
||||
|
||||
// TODO: this is needed to make first page not squished, why?
|
||||
main_layout->setSizeConstraint(QLayout::SetMinimumSize);
|
||||
#endif
|
||||
|
||||
glWindow = new GLWindow(this);
|
||||
@@ -72,9 +75,6 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) {
|
||||
QObject::connect(onboardingWindow, SIGNAL(onboardingDone()), this, SLOT(closeSettings()));
|
||||
onboardingWindow->updateActiveScreen();
|
||||
|
||||
// TODO: this is needed to make first page not squished, why?
|
||||
main_layout->setSizeConstraint(QLayout::SetMinimumSize);
|
||||
|
||||
setStyleSheet(R"(
|
||||
* {
|
||||
color: white;
|
||||
|
||||
@@ -6,6 +6,7 @@ sudo apt-get update && sudo apt-get install -y \
|
||||
build-essential \
|
||||
bzip2 \
|
||||
capnproto \
|
||||
cppcheck \
|
||||
libcapnp-dev \
|
||||
clang \
|
||||
cmake \
|
||||
|
||||
Reference in New Issue
Block a user