mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove getPaths() usage from ImageUploader
This commit is contained in:
parent
a2e91770e8
commit
72b3d6a29b
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue