summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <elvis.angelaccio@kde.org>2016-11-14 10:54:57 (GMT)
committerElvis Angelaccio <elvis.angelaccio@kde.org>2016-11-14 10:54:57 (GMT)
commitfc0144e1bc3c54e716217b9f41f3884263317325 (patch)
tree3e0b402a2c28dca066f796ff85e371664d16db0f
parentb608b3e474a9f6f9bdd496f67bfe516ece3e7d09 (diff)
part: use word wrap in messagewidgets
Otherwise they resize the main window when the messagewidget contains a long filename.
-rw-r--r--part/part.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/part/part.cpp b/part/part.cpp
index 19b757a..308dbfa 100644
--- a/part/part.cpp
+++ b/part/part.cpp
@@ -122,6 +122,7 @@ Part::Part(QWidget *parentWidget, QObject *parent, const QVariantList& args)
m_commentBox->setLayout(vbox);
m_messageWidget = new KMessageWidget(parentWidget);
+ m_messageWidget->setWordWrap(true);
m_messageWidget->hide();
m_commentMsgWidget = new KMessageWidget();