Qt ui: make sure ui_state is initialzed to 0

old-commit-hash: 97f9277ba6
commatwo_master
Willem Melching 5 years ago
parent 97fe386b3a
commit fcccf3aaf2
  1. 2
      selfdrive/ui/qt/window.hpp

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

Loading…
Cancel
Save