2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Don't force WEBP format for stickers.

Fixes #5374.
This commit is contained in:
John Preston
2018-11-12 13:16:54 +04:00
parent 0718520f36
commit aba6cc2c64
2 changed files with 5 additions and 8 deletions

View File

@@ -64,10 +64,10 @@ private:
class LocalFileSource : public Source {
public:
LocalFileSource(
explicit LocalFileSource(
const QString &path,
const QByteArray &content,
const QByteArray &format,
const QByteArray &content = QByteArray(),
const QByteArray &format = QByteArray(),
QImage &&data = QImage());
void load(