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
5477fd74
Commit
5477fd74
authored
Aug 12, 2010
by
Bryan Godbolt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set groupbox title for opallink, protected by ifdef OPAL_RT
parent
bedd4304
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
CommConfigurationWindow.cc
src/ui/CommConfigurationWindow.cc
+6
-0
CommConfigurationWindow.h
src/ui/CommConfigurationWindow.h
+4
-0
No files found.
src/ui/CommConfigurationWindow.cc
View file @
5477fd74
...
...
@@ -101,6 +101,12 @@ CommConfigurationWindow::CommConfigurationWindow(LinkInterface* link, ProtocolIn
{
ui
.
linkGroupBox
->
setTitle
(
tr
(
"udp link"
));
}
#ifdef OPAL_RT
else
if
(
dynamic_cast
<
OpalLink
*>
(
link
)
!=
0
)
{
ui
.
linkGroupBox
->
setTitle
(
tr
(
"Opal-RT Link"
));
}
#endif
else
{
qDebug
()
<<
"Link is NOT a known link, can't open configuration window"
;
...
...
src/ui/CommConfigurationWindow.h
View file @
5477fd74
...
...
@@ -40,6 +40,10 @@ This file is part of the PIXHAWK project
#include "ProtocolInterface.h"
#include "ui_CommSettings.h"
#ifdef OPAL_RT
#include "OpalLink.h"
#endif
class
CommConfigurationWindow
:
public
QWidget
{
Q_OBJECT
...
...
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