Remove dead code

This commit is contained in:
rexim 2019-05-22 00:20:47 +07:00
parent f002d44370
commit cbb1ec2d7a

View file

@ -1222,8 +1222,6 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
if (imageLayoutElement && imageLayoutElement->pixmap()) { if (imageLayoutElement && imageLayoutElement->pixmap()) {
QBuffer buffer; QBuffer buffer;
const int width = imageLayoutElement->pixmap()->width();
const int height = imageLayoutElement->pixmap()->height();
imageLayoutElement->pixmap()->save(&buffer, "PNG"); imageLayoutElement->pixmap()->save(&buffer, "PNG");
// FIXME: Image inside of imageLayoutElement is not always the biggest // FIXME: Image inside of imageLayoutElement is not always the biggest