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
9ada3212
Commit
9ada3212
authored
Sep 26, 2018
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
be0b2c22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
QGCCorePlugin.cc
src/api/QGCCorePlugin.cc
+10
-0
QGCCorePlugin.h
src/api/QGCCorePlugin.h
+4
-3
No files found.
src/api/QGCCorePlugin.cc
View file @
9ada3212
...
...
@@ -303,3 +303,13 @@ bool QGCCorePlugin::guidedActionsControllerLogging(void) const
{
return
GuidedActionsControllerLog
().
isDebugEnabled
();
}
QString
QGCCorePlugin
::
stableVersionCheckFileUrl
(
void
)
const
{
#ifdef QGC_CUSTOM_BUILD
// Custom builds must override to turn on and provide their own location
return
QString
();
#else
return
QString
(
"https://s3-us-west-2.amazonaws.com/qgroundcontrol/latest/QGC.version.txt"
);
#endif
}
src/api/QGCCorePlugin.h
View file @
9ada3212
...
...
@@ -113,15 +113,16 @@ public:
virtual
QmlObjectListModel
*
customMapItems
(
void
);
/// Returns the url to download the stable version check file. Return QString() to indicate no version check should be performed.
/// Default implemenentation returns QGC Stable file location. Custom builds must override to turn off or provide their own location.
/// Default QGC mainline implemenentation returns QGC Stable file location. Default QGC custom build code returns QString().
/// Custom builds can override to turn on and provide their own location.
/// The contents of this file should be a single line in the form:
/// v3.4.4
/// This indicates the latest stable version number.
virtual
QString
stableVersionCheckFileUrl
(
void
)
{
return
QString
(
"https://s3-us-west-2.amazonaws.com/qgroundcontrol/latest/QGC.version.txt"
);
}
virtual
QString
stableVersionCheckFileUrl
(
void
)
const
;
/// Returns the user visible url to show user where to download new stable builds from.
/// Custom builds must override to provide their own location.
virtual
QString
stableDownloadLocation
(
void
)
{
return
QString
(
"qgroundcontrol.com"
);
}
virtual
QString
stableDownloadLocation
(
void
)
const
{
return
QString
(
"qgroundcontrol.com"
);
}
bool
showTouchAreas
(
void
)
const
{
return
_showTouchAreas
;
}
bool
showAdvancedUI
(
void
)
const
{
return
_showAdvancedUI
;
}
...
...
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