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()
{
if (!jScriptInitialized)
{
#ifdef Q_OS_MAC
#ifdef Q_OS_MAC
jScriptInitialized = true;
#endif
#ifdef _MSC_VER
#ifdef _MSC_VER
QAxObject* doc = webViewWin->querySubObject("Document()");
IDispatch* Disp;
IDispatch* winDoc = NULL;
......@@ -259,7 +259,7 @@ void QGCGoogleEarthView::initializeGoogleEarth()
#endif
QTimer::singleShot(2500, this, SLOT(initializeGoogleEarth()));
return;
}
}
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