mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-14 09:22:05 +08:00
OffroadHome: update alerts immediately in showEvent (#21808)
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