Qt ui: make sure ui_state is initialzed to 0

pull/2639/head
Willem Melching 5 years ago
parent 99ea3ef178
commit 97f9277ba6
  1. 2
      selfdrive/ui/qt/window.hpp

@ -38,7 +38,7 @@ private:
QTimer * timer;
QTimer * backlight_timer;
UIState * ui_state;
UIState * ui_state = nullptr;
QtSound sound;
bool onroad = true;

Loading…
Cancel
Save