summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_tool_freehand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_tool_freehand.cc')
-rw-r--r--chalk/ui/kis_tool_freehand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kis_tool_freehand.cc b/chalk/ui/kis_tool_freehand.cc
index fe30eb50..5885c433 100644
--- a/chalk/ui/kis_tool_freehand.cc
+++ b/chalk/ui/kis_tool_freehand.cc
@@ -255,9 +255,9 @@ void KisToolFreehand::endPaint()
m_dirtyRect.width(), m_dirtyRect.height());
KisLayerSupportsIndirectPainting* layer =
- dynamic_cast<KisLayerSupportsIndirectPainting*>(m_source->tqparentLayer());
+ dynamic_cast<KisLayerSupportsIndirectPainting*>(m_source->parentLayer());
layer->setTemporaryTarget(0);
- m_source->tqparentLayer()->setDirty(m_dirtyRect);
+ m_source->parentLayer()->setDirty(m_dirtyRect);
if (m_currentImage->undo()) {
m_currentImage->undoAdapter()->addCommand(painter.endTransaction());