Qt ui: make sure ui_state is initialzed to 0

old-commit-hash: 97f9277ba6982c2b1eb3ce89de34943d800f82c6
This commit is contained in:
Willem Melching
2020-11-24 13:59:26 +01:00
parent 97fe386b3a
commit fcccf3aaf2
+1 -1
View File
@@ -38,7 +38,7 @@ private:
QTimer * timer;
QTimer * backlight_timer;
UIState * ui_state;
UIState * ui_state = nullptr;
QtSound sound;
bool onroad = true;