OffroadHome: update alerts immediately in showEvent (#21808)

old-commit-hash: f5c95b026a5476f2771c609bc070a0da55649ef7
This commit is contained in:
Dean Lee
2021-08-03 13:07:07 +08:00
committed by GitHub
parent eb8a334bfc
commit 6ae1a211d9
+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);
}