From 3c8c793e477ec0d02c2a1a7b2e05072f53100cd7 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Fri, 12 Jan 2018 18:42:13 +0100 Subject: [PATCH] Add missing return in `MessageElement::setTrailingSpace` --- src/messages/messageelement.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/messages/messageelement.cpp b/src/messages/messageelement.cpp index 6d501e177..58b0d1e48 100644 --- a/src/messages/messageelement.cpp +++ b/src/messages/messageelement.cpp @@ -28,6 +28,7 @@ MessageElement *MessageElement::setTooltip(const QString &_tooltip) MessageElement *MessageElement::setTrailingSpace(bool value) { this->trailingSpace = value; + return this; } const QString &MessageElement::getTooltip() const