pixmap() -> imagePreview()

This commit is contained in:
rexim
2019-05-22 00:52:09 +07:00
parent aa4e7f13e7
commit 959aa4616f
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1217,7 +1217,7 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
}
else
{
if (auto pixmap = hoverLayoutElement->pixmap()) {
if (auto pixmap = hoverLayoutElement->imagePreview()) {
QBuffer buffer;
pixmap->save(&buffer, "PNG");