Commit 141f523d authored by Indri Muska's avatar Indri Muska

Fixed Google Earth file location for Mac users

parent 4574fd52
No related merge requests found
......@@ -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