From 25377440bb103dee70ce4870ffc94358f91765a5 Mon Sep 17 00:00:00 2001 From: Bryant Date: Mon, 1 Dec 2014 14:00:32 -0800 Subject: [PATCH] Removed unused variable. --- src/ui/MainWindow.cc | 1 - src/ui/MainWindow.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index f6a92f161..90b0b40a7 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -113,7 +113,6 @@ void MainWindow::deleteInstance(void) MainWindow::MainWindow(QSplashScreen* splashScreen, enum MainWindow::CUSTOM_MODE mode) : currentView(VIEW_FLIGHT), currentStyle(QGC_MAINWINDOW_STYLE_DARK), - changingViewsFlag(false), mavlink(new MAVLinkProtocol()), centerStackActionGroup(new QActionGroup(this)), autoReconnect(false), diff --git a/src/ui/MainWindow.h b/src/ui/MainWindow.h index 8c0e281b1..e545d810e 100644 --- a/src/ui/MainWindow.h +++ b/src/ui/MainWindow.h @@ -347,7 +347,6 @@ protected: /** @brief Keeps track of the current view */ VIEW_SECTIONS currentView; QGC_MAINWINDOW_STYLE currentStyle; - bool changingViewsFlag; void storeViewState(); void loadViewState(); -- 2.22.0