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
+1 -1
View File
@@ -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);