mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
OffroadHome: update alerts immediately in showEvent (#21808)
old-commit-hash: f5c95b026a5476f2771c609bc070a0da55649ef7
This commit is contained in:
@@ -158,10 +158,10 @@ OffroadHome::OffroadHome(QWidget* parent) : QFrame(parent) {
|
||||
font-size: 55px;
|
||||
}
|
||||
)");
|
||||
refresh();
|
||||
}
|
||||
|
||||
void OffroadHome::showEvent(QShowEvent *event) {
|
||||
refresh();
|
||||
timer->start(10 * 1000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user