Commit 56ac4e92 authored by pixhawk's avatar pixhawk

Cleaned up line indendation, validated Google Earth on Mac

parent 14609cb8
...@@ -226,10 +226,10 @@ void QGCGoogleEarthView::initializeGoogleEarth() ...@@ -226,10 +226,10 @@ void QGCGoogleEarthView::initializeGoogleEarth()
{ {
if (!jScriptInitialized) if (!jScriptInitialized)
{ {
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
jScriptInitialized = true; jScriptInitialized = true;
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER
QAxObject* doc = webViewWin->querySubObject("Document()"); QAxObject* doc = webViewWin->querySubObject("Document()");
IDispatch* Disp; IDispatch* Disp;
IDispatch* winDoc = NULL; IDispatch* winDoc = NULL;
...@@ -259,7 +259,7 @@ void QGCGoogleEarthView::initializeGoogleEarth() ...@@ -259,7 +259,7 @@ void QGCGoogleEarthView::initializeGoogleEarth()
#endif #endif
QTimer::singleShot(2500, this, SLOT(initializeGoogleEarth())); QTimer::singleShot(2500, this, SLOT(initializeGoogleEarth()));
return; return;
} }
if (!gEarthInitialized) if (!gEarthInitialized)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment