Commit 5e230a62 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Notifications] Unset Heading default height

Plasma's Label has a default height based on the contentHeight of the text.
However, this interferes with QtQuick Layout's logic and might cause an infinite loop.

This can easily be triggered by sending a notification with a multi-line heading/summary.

CHANGELOG: Fixed a freeze caused by certain notifications

BUG: 381154
FIXED-IN: 5.12.0
(cherry picked from commit a3c0565a)
parent de197e56
......@@ -155,6 +155,7 @@ MouseArea {
id: summaryLabel
Layout.fillWidth: true
Layout.fillHeight: true
height: undefined
verticalAlignment: Text.AlignVCenter
level: 4
elide: Text.ElideRight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment