Commit bf10d276 authored by Halla Rempt's avatar Halla Rempt
Browse files

Forward port fix for adjustment layers (wrong sig/slot connection)

svn path=/trunk/koffice/; revision=603232
parent c140cfab
......@@ -40,7 +40,7 @@ KisAdjustmentLayer::KisAdjustmentLayer(KisImageSP img, const QString &name, KisF
m_showSelection = true;
Q_ASSERT(m_cachedPaintDev);
connect(img.data(), SIGNAL(sigSelectionChanged(KisImageSP)),
this, SLOT(sigSelectionChanged(KisImageSP)));
this, SLOT(slotSelectionChanged(KisImageSP)));
}
KisAdjustmentLayer::KisAdjustmentLayer(const KisAdjustmentLayer& rhs)
......@@ -54,7 +54,7 @@ KisAdjustmentLayer::KisAdjustmentLayer(const KisAdjustmentLayer& rhs)
if (!m_selection->hasSelection())
m_selection->setSelection(m_selection);
connect(rhs.image(), SIGNAL(sigSelectionChanged(KisImageSP)),
this, SLOT(sigSelectionChanged(KisImageSP)));
this, SLOT(slotSelectionChanged(KisImageSP)));
}
m_cachedPaintDev = new KisPaintDevice( *rhs.m_cachedPaintDev.data() );
m_showSelection = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment