refactor: Un-singletonize Paths & Updates (#5092)
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user