From f42d48860cb39071e1e55b0483a59b42b7003d5e Mon Sep 17 00:00:00 2001 From: fourtf Date: Tue, 23 Jan 2018 22:51:15 +0100 Subject: [PATCH] fixes #249 --- src/messages/layouts/messagelayout.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/messages/layouts/messagelayout.cpp b/src/messages/layouts/messagelayout.cpp index aec1df3b1..c0f7efc15 100644 --- a/src/messages/layouts/messagelayout.cpp +++ b/src/messages/layouts/messagelayout.cpp @@ -171,7 +171,8 @@ void MessageLayout::paint(QPainter &painter, int y, int messageIndex, Selection } // draw on buffer - painter.drawPixmap(0, y, this->container.width, this->container.getHeight(), *pixmap); + painter.drawPixmap(0, y, *pixmap); + // painter.drawPixmap(0, y, this->container.width, this->container.getHeight(), *pixmap); // draw disabled if (this->message->hasFlags(Message::Disabled)) {