chore: remove Singleton & replace getIApp with getApp (#5514)
This commit is contained in:
@@ -54,7 +54,7 @@ void ImageUploader::logToFile(const QString &originalFilePath,
|
||||
{
|
||||
const QString logFileName =
|
||||
combinePath((getSettings()->logPath.getValue().isEmpty()
|
||||
? getIApp()->getPaths().messageLogDirectory
|
||||
? getApp()->getPaths().messageLogDirectory
|
||||
: getSettings()->logPath),
|
||||
"ImageUploader.json");
|
||||
|
||||
@@ -123,10 +123,6 @@ QString getLinkFromResponse(NetworkResult response, QString pattern)
|
||||
return pattern;
|
||||
}
|
||||
|
||||
void ImageUploader::save()
|
||||
{
|
||||
}
|
||||
|
||||
void ImageUploader::sendImageUploadRequest(RawImageData imageData,
|
||||
ChannelPtr channel,
|
||||
QPointer<ResizingTextEdit> textEdit)
|
||||
|
||||
Reference in New Issue
Block a user