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
aff3ddf4
Commit
aff3ddf4
authored
Jul 26, 2015
by
Don Gagne
Browse files
Remove unused parameter
parent
7c5688a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
aff3ddf4
...
...
@@ -395,7 +395,7 @@ void MainWindow::_buildCommonWidgets(void)
// Log player
// TODO: Make this optional with a preferences setting or under a "View" menu
logPlayer
=
new
QGCMAVLinkLogPlayer
(
MAVLinkProtocol
::
instance
(),
statusBar
());
logPlayer
=
new
QGCMAVLinkLogPlayer
(
statusBar
());
statusBar
()
->
addPermanentWidget
(
logPlayer
);
// In order for Qt to save and restore state of widgets all widgets must be created ahead of time. We only create the QDockWidget
...
...
src/ui/QGCMAVLinkLogPlayer.cc
View file @
aff3ddf4
...
...
@@ -13,13 +13,11 @@
#include
"QGCFileDialog.h"
#include
"QGCMessageBox.h"
QGCMAVLinkLogPlayer
::
QGCMAVLinkLogPlayer
(
MAVLinkProtocol
*
mavlink
,
QWidget
*
parent
)
:
QGCMAVLinkLogPlayer
::
QGCMAVLinkLogPlayer
(
QWidget
*
parent
)
:
QWidget
(
parent
),
_replayLink
(
NULL
),
_ui
(
new
Ui
::
QGCMAVLinkLogPlayer
)
{
Q_ASSERT
(
mavlink
);
{
_ui
->
setupUi
(
this
);
_ui
->
horizontalLayout
->
setAlignment
(
Qt
::
AlignTop
);
...
...
src/ui/QGCMAVLinkLogPlayer.h
View file @
aff3ddf4
...
...
@@ -25,7 +25,7 @@ class QGCMAVLinkLogPlayer : public QWidget
Q_OBJECT
public:
explicit
QGCMAVLinkLogPlayer
(
MAVLinkProtocol
*
mavlink
,
QWidget
*
parent
=
0
);
explicit
QGCMAVLinkLogPlayer
(
QWidget
*
parent
=
0
);
~
QGCMAVLinkLogPlayer
();
private
slots
:
...
...
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