Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
5feeb517
Commit
5feeb517
authored
Apr 15, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot to bump config version number.
Removed redundant counter while at it.
parent
9315bf5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
QGCConfig.h
src/QGCConfig.h
+1
-1
LinkManager.cc
src/comm/LinkManager.cc
+1
-3
No files found.
src/QGCConfig.h
View file @
5feeb517
...
...
@@ -12,7 +12,7 @@
// If you need to make an incompatible changes to stored settings, bump this version number
// up by 1. This will caused store settings to be cleared on next boot.
#define QGC_SETTINGS_VERSION
5
#define QGC_SETTINGS_VERSION
6
#define QGC_APPLICATION_NAME "QGroundControl"
#define QGC_ORG_NAME "QGroundControl.org"
...
...
src/comm/LinkManager.cc
View file @
5feeb517
...
...
@@ -326,7 +326,6 @@ void LinkManager::saveLinkConfigurationList()
QSettings
settings
;
settings
.
remove
(
LinkConfiguration
::
settingsRoot
());
int
index
=
0
;
int
count
=
0
;
foreach
(
LinkConfiguration
*
pLink
,
_linkConfigurations
)
{
Q_ASSERT
(
pLink
!=
NULL
);
if
(
!
pLink
->
isDynamic
())
...
...
@@ -338,11 +337,10 @@ void LinkManager::saveLinkConfigurationList()
settings
.
setValue
(
root
+
"/preferred"
,
pLink
->
isPreferred
());
// Have the instance save its own values
pLink
->
saveSettings
(
settings
,
root
);
count
++
;
}
}
QString
root
(
LinkConfiguration
::
settingsRoot
());
settings
.
setValue
(
root
+
"/count"
,
count
);
settings
.
setValue
(
root
+
"/count"
,
index
);
emit
linkConfigurationChanged
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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