watch3: fix layout warning (#22566)

pull/22570/head
Dean Lee 4 years ago committed by GitHub
parent 901f1e5952
commit 3de2cd897b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/watch3.cc

@ -19,7 +19,7 @@ int main(int argc, char *argv[]) {
layout->setSpacing(0);
layout->addWidget(new CameraViewWidget(VISION_STREAM_RGB_BACK, false));
QHBoxLayout *hlayout = new QHBoxLayout(&w);
QHBoxLayout *hlayout = new QHBoxLayout();
layout->addLayout(hlayout);
hlayout->addWidget(new CameraViewWidget(VISION_STREAM_RGB_FRONT, false));
hlayout->addWidget(new CameraViewWidget(VISION_STREAM_RGB_WIDE, false));

Loading…
Cancel
Save