[LogsDialog] Fix GE export on OSX (since 9796654).
This commit is contained in:
@@ -420,15 +420,15 @@ void LogsDialog::exportToGoogleEarth()
|
|||||||
outputStream << "\t\t\t\t\t\t</SchemaData>\n\t\t\t\t\t</ExtendedData>\n\t\t\t\t</gx:Track>\n\t\t\t</Placemark>\n\t\t</Folder>\n\t</Document>\n</kml>";
|
outputStream << "\t\t\t\t\t\t</SchemaData>\n\t\t\t\t\t</ExtendedData>\n\t\t\t\t</gx:Track>\n\t\t\t</Placemark>\n\t\t</Folder>\n\t</Document>\n</kml>";
|
||||||
geFile.close();
|
geFile.close();
|
||||||
|
|
||||||
|
QString gePath = g.gePath();
|
||||||
QStringList parameters;
|
QStringList parameters;
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
QString gePath = g.gePath();
|
|
||||||
parameters << "-a";
|
parameters << "-a";
|
||||||
parameters << gePath;
|
parameters << gePath;
|
||||||
gePath = "/usr/bin/open";
|
gePath = "/usr/bin/open";
|
||||||
#endif
|
#endif
|
||||||
parameters << geFilename;
|
parameters << geFilename;
|
||||||
QProcess::startDetached(g.gePath(), parameters);
|
QProcess::startDetached(gePath, parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LogsDialog::on_mapsButton_clicked()
|
void LogsDialog::on_mapsButton_clicked()
|
||||||
|
|||||||
Reference in New Issue
Block a user