Restore saving of media

This commit is contained in:
Nicolas Werner 2019-09-29 10:45:35 +02:00
parent 9b18440b4f
commit e2d733a01a
9 changed files with 173 additions and 32 deletions

View file

@ -20,16 +20,6 @@ Q_DECLARE_METATYPE(nlohmann::json)
Q_DECLARE_METATYPE(std::vector<std::string>)
Q_DECLARE_METATYPE(std::vector<QString>)
class MediaProxy : public QObject
{
Q_OBJECT
signals:
void imageDownloaded(const QPixmap &);
void imageSaved(const QString &, const QByteArray &);
void fileDownloaded(const QByteArray &);
};
namespace http {
mtx::http::Client *
client();