Fixed always loading 1x, 2x and 3x images
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user