Index: sources/storage/Logger.cpp =================================================================== diff -u -r1f5b2250ae70d305654d014a9aa1fd8baa29779c -r86a8bf85503555e814b049a30f2759501d785315 --- sources/storage/Logger.cpp (.../Logger.cpp) (revision 1f5b2250ae70d305654d014a9aa1fd8baa29779c) +++ sources/storage/Logger.cpp (.../Logger.cpp) (revision 86a8bf85503555e814b049a30f2759501d785315) @@ -251,13 +251,15 @@ QString basePath = Storage::Settings_Path(); // use the Settings path first (/var/configurations (Encrypted Partition)) - if ( ! QDir (basePath ).exists( )) { basePath = Storage::Standard_tmp; } else { goto lOut; } - if ( ! FileHandler::makeFolder (basePath + Storage::Log_Folder_Treatment )) { basePath = Storage::Standard_tmp; } else { goto lOut; } - if ( ! FileHandler::makeFolder (basePath + Storage::Log_Folder_Pending )) { basePath = Storage::Standard_tmp; } else { goto lOut; } + if ( ! QDir (basePath ).exists( )) { basePath = Storage::Standard_tmp; goto lOut; } + if ( ! FileHandler::makeFolder (basePath + Storage::Log_Folder_Treatment )) { basePath = Storage::Standard_tmp; goto lOut; } + if ( ! FileHandler::makeFolder (basePath + Storage::Log_Folder_Pending )) { basePath = Storage::Standard_tmp; goto lOut; } lOut: _logPathNames[vLogType] = basePath + Storage::Log_Folder_Treatment; emit didLogPathSet(vLogType, _logPathNames[vLogType]); + + FileHandler::errOut(tr("The '%1' folder selected for the treatment reports").arg(_logPathNames[vLogType])); } /*!