improved chatwidgetview syntax

This commit is contained in:
fourtf
2017-04-20 21:34:51 +02:00
parent b6d0776917
commit 980c0b2a93
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ void ChatWidgetView::paintEvent(QPaintEvent *event)
const QPixmap *image = lli.getPixmap();
if (image != NULL) {
if (image != nullptr) {
painter.drawPixmap(QRect(wordPart.getX(), wordPart.getY(),
wordPart.getWidth(), wordPart.getHeight()),
*image);