Commit d8212e3a authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #595 from indrimuska/master

Fixed Google Earth file location for Mac users
parents b8a37e39 141f523d
......@@ -407,7 +407,7 @@ void QGCGoogleEarthView::showEvent(QShowEvent* event)
#if (defined Q_OS_MAC)
webViewMac->setPage(new QGCWebPage(webViewMac));
webViewMac->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
webViewMac->load(QUrl(QCoreApplication::applicationDirPath()+"/earth.html"));
webViewMac->load(QUrl(QCoreApplication::applicationDirPath()+"/files/images/earth.html"));
#endif
#ifdef _MSC_VER
......
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