Commit c7bec2b0 authored by lm's avatar lm

Temporary fix to map widget issue

parent 58f497f3
...@@ -58,7 +58,6 @@ UASManager* UASManager::instance() ...@@ -58,7 +58,6 @@ UASManager* UASManager::instance()
UASManager::UASManager() : UASManager::UASManager() :
activeUAS(NULL) activeUAS(NULL)
{ {
systems = QList<UASInterface*>();
start(QThread::LowPriority); start(QThread::LowPriority);
} }
......
...@@ -1990,8 +1990,6 @@ void MainWindow::presentView() ...@@ -1990,8 +1990,6 @@ void MainWindow::presentView()
// VIDEO 2 // VIDEO 2
showTheWidget(MENU_VIDEO_STREAM_2, currentView); showTheWidget(MENU_VIDEO_STREAM_2, currentView);
this->show();
// Restore window state // Restore window state
if (UASManager::instance()->getUASList().count() > 0) if (UASManager::instance()->getUASList().count() > 0)
{ {
...@@ -2007,6 +2005,18 @@ void MainWindow::presentView() ...@@ -2007,6 +2005,18 @@ void MainWindow::presentView()
restoreState(settings.value(getWindowStateKey()).toByteArray(), QGC::applicationVersion()); restoreState(settings.value(getWindowStateKey()).toByteArray(), QGC::applicationVersion());
} }
} }
// ACTIVATE MAP WIDGET
if (headUpDockWidget)
{
HUD* tmpHud = dynamic_cast<HUD*>( headUpDockWidget->widget() );
if (tmpHud)
{
}
}
this->show();
} }
void MainWindow::showTheCentralWidget (TOOLS_WIDGET_NAMES centralWidget, VIEW_SECTIONS view) void MainWindow::showTheCentralWidget (TOOLS_WIDGET_NAMES centralWidget, VIEW_SECTIONS view)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment