Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
ccb8bf62
Commit
ccb8bf62
authored
Apr 04, 2015
by
dogmaphobic
Browse files
Fix copy/paste error.
Getting sloppy...
parent
6385c1a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
ccb8bf62
...
...
@@ -721,7 +721,7 @@ void MainWindow::loadSettings()
settings
.
beginGroup
(
MAIN_SETTINGS_GROUP
);
_autoReconnect
=
settings
.
value
(
"AUTO_RECONNECT"
,
_autoReconnect
).
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
();
// 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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment