Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/maps/KReportItemMaps.cpp
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Line(s) | 123 | { | |||
---|---|---|---|---|---|
129 | m_offset = offset; | 129 | m_offset = offset; | ||
130 | 130 | | |||
131 | 131 | | |||
132 | m_oroPicture = new OROPicture(); | 132 | m_oroPicture = new OROPicture(); | ||
133 | m_oroPicture->setPosition(scenePosition(position()) + m_offset); | 133 | m_oroPicture->setPosition(scenePosition(position()) + m_offset); | ||
134 | m_oroPicture->setSize(sceneSize(size())); | 134 | m_oroPicture->setSize(sceneSize(size())); | ||
135 | 135 | | |||
136 | if (m_pageId) { | 136 | if (m_pageId) { | ||
137 | m_pageId->addPrimitive(m_oroPicture); | 137 | m_pageId->insertPrimitive(m_oroPicture); | ||
138 | } | 138 | } | ||
139 | 139 | | |||
140 | if (m_sectionId) { | 140 | if (m_sectionId) { | ||
141 | OROPicture *i2 = dynamic_cast<OROPicture*>(m_oroPicture->clone()); | 141 | OROPicture *i2 = dynamic_cast<OROPicture*>(m_oroPicture->clone()); | ||
142 | if (i2) { | 142 | if (i2) { | ||
143 | i2->setPosition(scenePosition(position())); | 143 | i2->setPosition(scenePosition(position())); | ||
144 | } | 144 | } | ||
145 | } | 145 | } | ||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |