From e9e36e4137f4667abf89a9c12a7ce4c3d0b140f2 Mon Sep 17 00:00:00 2001 From: Michael Carpenter Date: Wed, 5 Jun 2013 12:54:33 -0400 Subject: [PATCH] Fix for a couple of floating windows that shouldn't have been shown --- src/ui/MainWindow.cc | 2 +- src/ui/QGCTabbedInfoView.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index abddfc644..d05ab14bb 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -538,7 +538,7 @@ void MainWindow::buildCommonWidgets() { debugConsole = new DebugConsole(); debugConsole->setWindowTitle("Communications Console"); - debugConsole->show(); + debugConsole->hide(); QAction* tempAction = ui.menuTools->addAction(tr("Communication Console")); //menuToDockNameMap[tempAction] = "COMMUNICATION_DEBUG_CONSOLE_DOCKWIDGET"; tempAction->setCheckable(true); diff --git a/src/ui/QGCTabbedInfoView.cpp b/src/ui/QGCTabbedInfoView.cpp index 8958a0dd9..b27076167 100644 --- a/src/ui/QGCTabbedInfoView.cpp +++ b/src/ui/QGCTabbedInfoView.cpp @@ -4,7 +4,7 @@ QGCTabbedInfoView::QGCTabbedInfoView(QWidget *parent) : QWidget(parent) { ui.setupUi(this); actionsWidget = new UASActionsWidget(this); - quickView = new UASQuickView(this);\ + quickView = new UASQuickView(this); rawView = new UASRawStatusView(this); ui.tabWidget->addTab(quickView,"Quick"); ui.tabWidget->addTab(actionsWidget,"Actions"); -- 2.22.0