diff options
Diffstat (limited to 'chalk/ui/kis_part_layer.cc')
-rw-r--r-- | chalk/ui/kis_part_layer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kis_part_layer.cc b/chalk/ui/kis_part_layer.cc index 401721b5..459770d1 100644 --- a/chalk/ui/kis_part_layer.cc +++ b/chalk/ui/kis_part_layer.cc @@ -83,7 +83,7 @@ void KisPartLayerImpl::childActivated(KoDocumentChild* child) TQRect rect = extent(); m_activated = true; setDirty(rect); - TQPtrList<KoView> views = child->tqparentDocument()->views(); + TQPtrList<KoView> views = child->parentDocument()->views(); Q_ASSERT(views.count()); // XXX iterate over views connect(views.at(0), TQT_SIGNAL(activated(bool)), @@ -97,7 +97,7 @@ void KisPartLayerImpl::childDeactivated(bool activated) // We probably changed, notify the image that it needs to tqrepaint where we currently updated // We use the original tqgeometry if (m_activated && !activated /* no clue, but debugging suggests it is false here */) { - TQPtrList<KoView> views = m_doc->tqparentDocument()->views(); + TQPtrList<KoView> views = m_doc->parentDocument()->views(); Q_ASSERT(views.count()); views.at(0)->disconnect(TQT_SIGNAL(activated(bool))); m_activated = false; |