diff --git a/selfdrive/ui/qt/window.cc b/selfdrive/ui/qt/window.cc index ccb3010484..58a8196315 100644 --- a/selfdrive/ui/qt/window.cc +++ b/selfdrive/ui/qt/window.cc @@ -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; diff --git a/tools/ubuntu_setup.sh b/tools/ubuntu_setup.sh index f03c3f0186..453395a93b 100755 --- a/tools/ubuntu_setup.sh +++ b/tools/ubuntu_setup.sh @@ -6,6 +6,7 @@ sudo apt-get update && sudo apt-get install -y \ build-essential \ bzip2 \ capnproto \ + cppcheck \ libcapnp-dev \ clang \ cmake \