Qt ui: make sure ui_state is initialzed to 0

This commit is contained in:
Willem Melching
2020-11-24 13:59:26 +01:00
parent 99ea3ef178
commit 97f9277ba6
+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;