Allow to import stickers from chat window

This commit is contained in:
hunbernd 2019-10-05 23:18:41 +02:00
parent 641964fff9
commit e52f1282ec
7 changed files with 46 additions and 12 deletions

View file

@ -30,7 +30,7 @@ class ImageUtil
public:
ImageUtil();
static void extractImage(QWidget *window, QTextCursor cursor);
static void extractImage(QWidget *window, QTextCursor cursor, QString file = "");
static bool optimizeSize(QString &html, const QImage& original, QImage &optimized, int maxPixels = -1, int maxBytes = -1);
private: