diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index f6a92f16190e9f8e57f29e5cf1b30e93c77e45cd..90b0b40a7013e53c8933f55f78c15657067d4aa9 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 8c0e281b178c16906e2eba7a610402ac34c39517..e545d810e1a8c3ed331e25241ef246b50b11e353 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();