OffroadHome: update alerts immediately in showEvent (#21808)

This commit is contained in:
Dean Lee
2021-08-03 13:07:07 +08:00
committed by GitHub
parent fb028041cd
commit f5c95b026a
+1 -1
View File
@@ -158,10 +158,10 @@ OffroadHome::OffroadHome(QWidget* parent) : QFrame(parent) {
font-size: 55px;
}
)");
refresh();
}
void OffroadHome::showEvent(QShowEvent *event) {
refresh();
timer->start(10 * 1000);
}