Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindecoration/declarative-plugin/previewitem.cpp
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 66 | { | |||
---|---|---|---|---|---|
73 | } | 73 | } | ||
74 | } | 74 | } | ||
75 | 75 | | |||
76 | void PreviewItem::createDecoration() | 76 | void PreviewItem::createDecoration() | ||
77 | { | 77 | { | ||
78 | if (m_bridge.isNull() || m_settings.isNull() || m_decoration) { | 78 | if (m_bridge.isNull() || m_settings.isNull() || m_decoration) { | ||
79 | return; | 79 | return; | ||
80 | } | 80 | } | ||
81 | Decoration *decoration = m_bridge->createDecoration(0); | 81 | Decoration *decoration = m_bridge->createDecoration(nullptr); | ||
82 | m_client = m_bridge->lastCreatedClient(); | 82 | m_client = m_bridge->lastCreatedClient(); | ||
83 | setDecoration(decoration); | 83 | setDecoration(decoration); | ||
84 | } | 84 | } | ||
85 | 85 | | |||
86 | Decoration *PreviewItem::decoration() const | 86 | Decoration *PreviewItem::decoration() const | ||
87 | { | 87 | { | ||
88 | return m_decoration; | 88 | return m_decoration; | ||
89 | } | 89 | } | ||
▲ Show 20 Lines • Show All 379 Lines • Show Last 20 Lines |