Unverified Commit 053e41d5 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #6175 from mavlink/mobileLogDownload

Mobile Log Download
parents e8349825 107ba362
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "QGCMapEngine.h" #include "QGCMapEngine.h"
#include "ParameterManager.h" #include "ParameterManager.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "SettingsManager.h"
#include <QDebug> #include <QDebug>
#include <QSettings> #include <QSettings>
...@@ -511,7 +512,7 @@ LogDownloadController::download(QString path) ...@@ -511,7 +512,7 @@ LogDownloadController::download(QString path)
QString dir = path; QString dir = path;
#if defined(__mobile__) #if defined(__mobile__)
if(dir.isEmpty()) { if(dir.isEmpty()) {
dir = QDir::homePath(); dir = qgcApp()->toolbox()->settingsManager()->appSettings()->logSavePath();
} }
#else #else
if(dir.isEmpty()) { if(dir.isEmpty()) {
......
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