fixed emote preview not using 3x images

This commit is contained in:
fourtf
2019-08-21 01:44:19 +02:00
parent 67aadfe61f
commit dbc20baa65
5 changed files with 53 additions and 30 deletions
+2 -1
View File
@@ -56,6 +56,7 @@ public:
bool loaded() const;
// either returns the current pixmap, or triggers loading it (lazy loading)
boost::optional<QPixmap> pixmapOrLoad() const;
void load() const;
qreal scale() const;
bool isEmpty() const;
int width() const;
@@ -72,7 +73,7 @@ private:
void setPixmap(const QPixmap &pixmap);
void load();
void actuallyLoad();
Url url_{};
qreal scale_{1};