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
f864c001
Commit
f864c001
authored
Dec 06, 2010
by
lm
Browse files
Fixed Linux compile error
parent
a7e4f7d0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ui/map3D/QGCGoogleEarthView.cc
View file @
f864c001
...
@@ -87,6 +87,7 @@ void QGCGoogleEarthView::follow(bool follow)
...
@@ -87,6 +87,7 @@ void QGCGoogleEarthView::follow(bool follow)
void
QGCGoogleEarthView
::
updateState
()
void
QGCGoogleEarthView
::
updateState
()
{
{
#ifdef Q_OS_MAC
if
(
webViewMac
->
page
()
->
currentFrame
()
->
evaluateJavaScript
(
"isInitialized();"
).
toBool
())
if
(
webViewMac
->
page
()
->
currentFrame
()
->
evaluateJavaScript
(
"isInitialized();"
).
toBool
())
{
{
static
bool
initialized
=
false
;
static
bool
initialized
=
false
;
...
@@ -128,6 +129,7 @@ void QGCGoogleEarthView::updateState()
...
@@ -128,6 +129,7 @@ void QGCGoogleEarthView::updateState()
webViewMac
->
page
()
->
currentFrame
()
->
evaluateJavaScript
(
QString
(
"updateFollowAircraft()"
));
webViewMac
->
page
()
->
currentFrame
()
->
evaluateJavaScript
(
QString
(
"updateFollowAircraft()"
));
}
}
}
}
#endif
}
}
void
QGCGoogleEarthView
::
changeEvent
(
QEvent
*
e
)
void
QGCGoogleEarthView
::
changeEvent
(
QEvent
*
e
)
...
...
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