From bdbdfe3db30a84aa4a5644839adba846419e5a5b Mon Sep 17 00:00:00 2001 From: fourtf <tf.four@gmail.com> Date: Sun, 2 Dec 2018 19:23:23 +0100 Subject: [PATCH] updated appbase version --- lib/appbase | 2 +- src/messages/layouts/MessageLayout.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/appbase b/lib/appbase index 3a01e9d27..720ce7349 160000 --- a/lib/appbase +++ b/lib/appbase @@ -1 +1 @@ -Subproject commit 3a01e9d27692a0bc3a4e2f160b99b82ceef9e601 +Subproject commit 720ce7349daf873043a9cef77caaf58c10b46773 diff --git a/src/messages/layouts/MessageLayout.cpp b/src/messages/layouts/MessageLayout.cpp index 9618a66a9..9048678bb 100644 --- a/src/messages/layouts/MessageLayout.cpp +++ b/src/messages/layouts/MessageLayout.cpp @@ -250,7 +250,7 @@ void MessageLayout::updateBuffer(QPixmap *buffer, int /*messageIndex*/, // draw message this->container_->paintElements(painter); - //#ifdef FOURTF +#ifdef FOURTF // debug painter.setPen(QColor(255, 0, 0)); painter.drawRect(buffer->rect().x(), buffer->rect().y(), @@ -263,7 +263,7 @@ void MessageLayout::updateBuffer(QPixmap *buffer, int /*messageIndex*/, QString::number(this->layoutCount_) + ", " + QString::number(++this->bufferUpdatedCount_), option); - //#endif +#endif } void MessageLayout::invalidateBuffer()