Commit 25377440 authored by Bryant's avatar Bryant

Removed unused variable.

parent e15abe49
...@@ -113,7 +113,6 @@ void MainWindow::deleteInstance(void) ...@@ -113,7 +113,6 @@ void MainWindow::deleteInstance(void)
MainWindow::MainWindow(QSplashScreen* splashScreen, enum MainWindow::CUSTOM_MODE mode) : MainWindow::MainWindow(QSplashScreen* splashScreen, enum MainWindow::CUSTOM_MODE mode) :
currentView(VIEW_FLIGHT), currentView(VIEW_FLIGHT),
currentStyle(QGC_MAINWINDOW_STYLE_DARK), currentStyle(QGC_MAINWINDOW_STYLE_DARK),
changingViewsFlag(false),
mavlink(new MAVLinkProtocol()), mavlink(new MAVLinkProtocol()),
centerStackActionGroup(new QActionGroup(this)), centerStackActionGroup(new QActionGroup(this)),
autoReconnect(false), autoReconnect(false),
......
...@@ -347,7 +347,6 @@ protected: ...@@ -347,7 +347,6 @@ protected:
/** @brief Keeps track of the current view */ /** @brief Keeps track of the current view */
VIEW_SECTIONS currentView; VIEW_SECTIONS currentView;
QGC_MAINWINDOW_STYLE currentStyle; QGC_MAINWINDOW_STYLE currentStyle;
bool changingViewsFlag;
void storeViewState(); void storeViewState();
void loadViewState(); void loadViewState();
......
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