mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
fix fullscreen map on startup
old-commit-hash: 175d53e460862da28e9faf64fbf098fcf7d166f0
This commit is contained in:
@@ -82,8 +82,9 @@ void OnroadWindow::offroadTransition(bool offroad) {
|
||||
settings.setAccessToken(token.trimmed());
|
||||
|
||||
MapWindow * m = new MapWindow(settings);
|
||||
m->setFixedWidth(width() / 2 - bdr_s);
|
||||
QObject::connect(this, &OnroadWindow::offroadTransitionSignal, m, &MapWindow::offroadTransition);
|
||||
split->addWidget(m);
|
||||
split->addWidget(m, 0, Qt::AlignRight);
|
||||
map = m;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user