Commit 76d21b92 authored by Don Gagne's avatar Don Gagne

parent 9ada3212
......@@ -722,6 +722,9 @@ void QGCApplication::_currentVersionDownloadFinished(QString remoteFile, QString
{
Q_UNUSED(remoteFile);
#ifdef __mobile__
Q_UNUSED(localFile);
#else
QFile versionFile(localFile);
if (versionFile.open(QIODevice::ReadOnly)) {
QTextStream textStream(&versionFile);
......@@ -740,6 +743,7 @@ void QGCApplication::_currentVersionDownloadFinished(QString remoteFile, QString
}
_currentVersionDownload->deleteLater();
#endif
}
void QGCApplication::_currentVersionDownloadError(QString errorMsg)
......
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