diff options
Diffstat (limited to 'chalk/core/kis_group_layer.cc')
-rw-r--r-- | chalk/core/kis_group_layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/core/kis_group_layer.cc b/chalk/core/kis_group_layer.cc index a3a35339..ea8d0213 100644 --- a/chalk/core/kis_group_layer.cc +++ b/chalk/core/kis_group_layer.cc @@ -163,7 +163,7 @@ void KisGroupLayer::setIndex(KisLayerSP layer, int index) bool KisGroupLayer::addLayer(KisLayerSP newLayer, int x) { if (x < 0 || kClamp(uint(x), uint(0), childCount()) != uint(x) || - newLayer->tqparent() || m_layers.tqcontains(newLayer)) + newLayer->tqparent() || m_layers.contains(newLayer)) { kdWarning() << "invalid input to KisGroupLayer::addLayer(KisLayerSP newLayer, int x)!" << endl; return false; |