diff --git a/src/AnalyzeView/LogDownloadController.cc b/src/AnalyzeView/LogDownloadController.cc index 57fab3975512ca112688a79fcad5b73ad112f7b5..133a55671663451192a5d4ad5481485970413585 100644 --- a/src/AnalyzeView/LogDownloadController.cc +++ b/src/AnalyzeView/LogDownloadController.cc @@ -21,6 +21,7 @@ #include "QGCMapEngine.h" #include "ParameterManager.h" #include "Vehicle.h" +#include "SettingsManager.h" #include #include @@ -511,7 +512,7 @@ LogDownloadController::download(QString path) QString dir = path; #if defined(__mobile__) if(dir.isEmpty()) { - dir = QDir::homePath(); + dir = qgcApp()->toolbox()->settingsManager()->appSettings()->logSavePath(); } #else if(dir.isEmpty()) {