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
8287b37f
Unverified
Commit
8287b37f
authored
Apr 01, 2020
by
Don Gagne
Committed by
GitHub
Apr 01, 2020
Browse files
Merge pull request #8629 from AWilco/patch-1
Correctly set parent of QGCCorePlugin
parents
f711da24
1893a920
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QGCToolbox.cc
View file @
8287b37f
...
...
@@ -134,13 +134,13 @@ void QGCToolbox::_scanAndLoadPlugins(QGCApplication* app)
{
#if defined (QGC_CUSTOM_BUILD)
//-- Create custom plugin (Static)
_corePlugin
=
(
QGCCorePlugin
*
)
new
CUSTOMCLASS
(
app
,
app
->
toolbox
()
);
_corePlugin
=
(
QGCCorePlugin
*
)
new
CUSTOMCLASS
(
app
,
this
);
if
(
_corePlugin
)
{
return
;
}
#endif
//-- No plugins found, use default instance
_corePlugin
=
new
QGCCorePlugin
(
app
,
app
->
toolbox
()
);
_corePlugin
=
new
QGCCorePlugin
(
app
,
this
);
}
QGCTool
::
QGCTool
(
QGCApplication
*
app
,
QGCToolbox
*
toolbox
)
...
...
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