Commit 7ebc4302 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Show decoration elements without frame in all widget styles

parent 78c9be33
Pipeline #91380 canceled with stage
......@@ -1088,12 +1088,11 @@ void AgendaView::placeDecorations(DecorationList &decoList, QDate date, QWidget
for (CalendarDecoration::Decoration *deco : std::as_const(decoList)) {
const CalendarDecoration::Element::List elements = forWeek ? deco->weekElements(date) : deco->dayElements(date);
if (!elements.isEmpty()) {
auto decoHBox = new QFrame(labelBox);
auto decoHBox = new QWidget(labelBox);
auto layout = new QHBoxLayout(decoHBox);
layout->setContentsMargins(0, 0, 0, 0);
for (CalendarDecoration::Element *it : elements) {
Supports Markdown
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