summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_group_layer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_group_layer.cc')
-rw-r--r--chalk/core/kis_group_layer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/core/kis_group_layer.cc b/chalk/core/kis_group_layer.cc
index a3a353397..ea8d02135 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;