Fixed always loading 1x, 2x and 3x images
This commit is contained in:
@@ -17,7 +17,7 @@ TooltipPreviewImage::TooltipPreviewImage()
|
||||
auto tooltipWidget = TooltipWidget::getInstance();
|
||||
if (this->image_ && !tooltipWidget->isHidden())
|
||||
{
|
||||
auto pixmap = this->image_->pixmap();
|
||||
auto pixmap = this->image_->pixmapOrLoad();
|
||||
if (pixmap)
|
||||
{
|
||||
tooltipWidget->setImage(*pixmap);
|
||||
|
||||
Reference in New Issue
Block a user