Remove getPaths() usage from ImageUploader

This commit is contained in:
Rasmus Karlsson 2024-01-15 23:13:32 +01:00
parent a2e91770e8
commit 72b3d6a29b

View file

@ -1,5 +1,6 @@
#include "singletons/ImageUploader.hpp"
#include "Application.hpp"
#include "common/Env.hpp"
#include "common/network/NetworkRequest.hpp"
#include "common/network/NetworkResult.hpp"
@ -50,7 +51,7 @@ void ImageUploader::logToFile(const QString &originalFilePath,
{
const QString logFileName =
combinePath((getSettings()->logPath.getValue().isEmpty()
? getPaths()->messageLogDirectory
? getIApp()->getPaths().messageLogDirectory
: getSettings()->logPath),
"ImageUploader.json");