chore: remove Singleton & replace getIApp with getApp (#5514)
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "common/Singleton.hpp"
|
||||
|
||||
#include <QMimeData>
|
||||
#include <QMutex>
|
||||
#include <QString>
|
||||
@@ -22,7 +20,7 @@ struct RawImageData {
|
||||
QString filePath;
|
||||
};
|
||||
|
||||
class ImageUploader final : public Singleton
|
||||
class ImageUploader final
|
||||
{
|
||||
public:
|
||||
/**
|
||||
@@ -33,7 +31,6 @@ public:
|
||||
std::pair<std::queue<RawImageData>, QString> getImages(
|
||||
const QMimeData *source) const;
|
||||
|
||||
void save() override;
|
||||
void upload(std::queue<RawImageData> images, ChannelPtr channel,
|
||||
QPointer<ResizingTextEdit> outputTextEdit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user