Browse Source

Fixed Linux compile error

QGC4.4
lm 15 years ago
parent
commit
f864c001eb
  1. 2
      src/ui/map3D/QGCGoogleEarthView.cc

2
src/ui/map3D/QGCGoogleEarthView.cc

@ -87,6 +87,7 @@ void QGCGoogleEarthView::follow(bool follow) @@ -87,6 +87,7 @@ void QGCGoogleEarthView::follow(bool follow)
void QGCGoogleEarthView::updateState()
{
#ifdef Q_OS_MAC
if (webViewMac->page()->currentFrame()->evaluateJavaScript("isInitialized();").toBool())
{
static bool initialized = false;
@ -128,6 +129,7 @@ void QGCGoogleEarthView::updateState() @@ -128,6 +129,7 @@ void QGCGoogleEarthView::updateState()
webViewMac->page()->currentFrame()->evaluateJavaScript(QString("updateFollowAircraft()"));
}
}
#endif
}
void QGCGoogleEarthView::changeEvent(QEvent *e)

Loading…
Cancel
Save