Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/canvas/kis_qpainter_canvas.cpp
Context not available. | |||||
169 | m_d->prescaledProjection->setChannelFlags(channelFlags); | 169 | m_d->prescaledProjection->setChannelFlags(channelFlags); | ||
---|---|---|---|---|---|
170 | } | 170 | } | ||
171 | 171 | | |||
172 | void KisQPainterCanvas::setDisplayProfile(KisDisplayColorConverter *colorConverter) | 172 | void KisQPainterCanvas::setDisplayColorConverter(KisDisplayColorConverter *colorConverter) | ||
173 | { | 173 | { | ||
174 | Q_ASSERT(m_d->prescaledProjection); | 174 | Q_ASSERT(m_d->prescaledProjection); | ||
175 | m_d->prescaledProjection->setMonitorProfile(colorConverter->monitorProfile(), | 175 | m_d->prescaledProjection->setMonitorProfile(colorConverter->monitorProfile(), | ||
Context not available. | |||||
185 | canvas()->startUpdateInPatches(canvas()->image()->bounds()); | 185 | canvas()->startUpdateInPatches(canvas()->image()->bounds()); | ||
186 | } | 186 | } | ||
187 | 187 | | |||
188 | void KisQPainterCanvas::notifyImageColorSpaceChanged(const KoColorSpace *cs) | ||||
189 | { | ||||
190 | Q_UNUSED(cs); | ||||
191 | // FIXME: on color space change the data is refetched multiple | ||||
192 | // times by different actors! | ||||
193 | canvas()->startUpdateInPatches(canvas()->image()->bounds()); | ||||
194 | } | ||||
188 | 195 | | |||
189 | void KisQPainterCanvas::setWrapAroundViewingMode(bool value) | 196 | void KisQPainterCanvas::setWrapAroundViewingMode(bool value) | ||
190 | { | 197 | { | ||
Context not available. |