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
a699ceab
Commit
a699ceab
authored
Aug 17, 2013
by
Lorenz Meier
Browse files
Merge branch 'master' of github.com:mavlink/qgroundcontrol into config
parents
fb4c0a0d
99a8946e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/PrimaryFlightDisplay.cc
View file @
a699ceab
...
...
@@ -169,18 +169,13 @@ PrimaryFlightDisplay::PrimaryFlightDisplay(int width, int height, QWidget *paren
setMinimumSize
(
120
,
80
);
setSizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Expanding
);
setActiveUAS
(
UASManager
::
instance
()
->
getActiveUAS
());
// Connect with UAS signal
//connect(UASManager::instance(), SIGNAL(UASCreated(UASInterface*)), this, SLOT(addUAS(UASInterface*)));
connect
(
UASManager
::
instance
(),
SIGNAL
(
UASDeleted
(
UASInterface
*
)),
this
,
SLOT
(
forgetUAS
(
UASInterface
*
)));
connect
(
UASManager
::
instance
(),
SIGNAL
(
activeUASSet
(
UASInterface
*
)),
this
,
SLOT
(
setActiveUAS
(
UASInterface
*
)));
// // Get a list of all existing UAS and - well attach to one of them. The first one.
// foreach (UASInterface* uas, UASManager::instance()->getUASList()) {
// addUAS(uas);
// }
setActiveUAS
(
UASManager
::
instance
()
->
getActiveUAS
());
// Refresh timer
refreshTimer
->
setInterval
(
updateInterval
);
// connect(refreshTimer, SIGNAL(timeout()), this, SLOT(paintHUD()));
...
...
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