Skip to content
GitLab
Menu
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
b82c8e78
Commit
b82c8e78
authored
Mar 04, 2015
by
Don Gagne
Browse files
Add parent in constructor
parent
278871b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ui/toolbar/MainToolBar.cc
View file @
b82c8e78
...
...
@@ -35,8 +35,9 @@ This file is part of the QGROUNDCONTROL project
#include "UASMessageHandler.h"
#include "UASMessageView.h"
MainToolBar
::
MainToolBar
()
:
_mav
(
NULL
)
MainToolBar
::
MainToolBar
(
QWidget
*
parent
)
:
QGCQmlWidgetHolder
(
parent
)
,
_mav
(
NULL
)
,
_toolBar
(
NULL
)
,
_currentView
(
ViewNone
)
,
_batteryVoltage
(
0.0
)
...
...
src/ui/toolbar/MainToolBar.h
View file @
b82c8e78
...
...
@@ -42,7 +42,7 @@ class MainToolBar : public QGCQmlWidgetHolder
Q_ENUMS
(
ViewType_t
)
Q_ENUMS
(
MessageType_t
)
public:
MainToolBar
();
MainToolBar
(
QWidget
*
parent
=
NULL
);
~
MainToolBar
();
typedef
enum
{
...
...
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