Fixed always loading 1x, 2x and 3x images

This commit is contained in:
fourtf
2019-08-13 13:42:38 +02:00
parent 294c2aecdc
commit 6274c05520
5 changed files with 19 additions and 10 deletions
+3 -1
View File
@@ -53,7 +53,9 @@ public:
static ImagePtr getEmpty();
const Url &url() const;
boost::optional<QPixmap> pixmap() const;
bool loaded() const;
// either returns the current pixmap, or triggers loading it (lazy loading)
boost::optional<QPixmap> pixmapOrLoad() const;
qreal scale() const;
bool isEmpty() const;
int width() const;