summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_transaction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_transaction.cc')
-rw-r--r--chalk/core/kis_transaction.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/core/kis_transaction.cc b/chalk/core/kis_transaction.cc
index b755c597..d0a10acc 100644
--- a/chalk/core/kis_transaction.cc
+++ b/chalk/core/kis_transaction.cc
@@ -62,7 +62,7 @@ void KisTransaction::execute()
m_private->m_memento->extent(x,y,width,height);
rc.setRect(x + m_private->m_device->getX(), y + m_private->m_device->getY(), width, height);
- KisLayerSP l = m_private->m_device->tqparentLayer();
+ KisLayerSP l = m_private->m_device->parentLayer();
if (l) l->setDirty(rc);
}
@@ -76,7 +76,7 @@ void KisTransaction::unexecute()
m_private->m_memento->extent(x,y,width,height);
rc.setRect(x + m_private->m_device->getX(), y + m_private->m_device->getY(), width, height);
- KisLayerSP l = m_private->m_device->tqparentLayer();
+ KisLayerSP l = m_private->m_device->parentLayer();
if (l) l->setDirty(rc);
}