Commit ccb8bf62 authored by dogmaphobic's avatar dogmaphobic

Fix copy/paste error.

Getting sloppy...
parent 6385c1a4
...@@ -721,7 +721,7 @@ void MainWindow::loadSettings() ...@@ -721,7 +721,7 @@ void MainWindow::loadSettings()
settings.beginGroup(MAIN_SETTINGS_GROUP); settings.beginGroup(MAIN_SETTINGS_GROUP);
_autoReconnect = settings.value("AUTO_RECONNECT", _autoReconnect).toBool(); _autoReconnect = settings.value("AUTO_RECONNECT", _autoReconnect).toBool();
_lowPowerMode = settings.value("LOW_POWER_MODE", _lowPowerMode).toBool(); _lowPowerMode = settings.value("LOW_POWER_MODE", _lowPowerMode).toBool();
_showStatusBar = settings.value("SHOW_STATUSBAR", _lowPowerMode).toBool(); _showStatusBar = settings.value("SHOW_STATUSBAR", _showStatusBar).toBool();
settings.endGroup(); settings.endGroup();
// Select the proper view. Default to the flight view or load the last one used if it's supported. // Select the proper view. Default to the flight view or load the last one used if it's supported.
VIEW_SECTIONS currentViewCandidate = (VIEW_SECTIONS) settings.value("CURRENT_VIEW", _currentView).toInt(); VIEW_SECTIONS currentViewCandidate = (VIEW_SECTIONS) settings.value("CURRENT_VIEW", _currentView).toInt();
......
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