Commit e32429c7 authored by Boudewijn Rempt's avatar Boudewijn Rempt

fix whitespace

parent c8e732f3
......@@ -348,16 +348,18 @@ KisNode* KisKraLoader::loadNode(const KoXmlElement& element, KisImageWSP image)
layer->setCompositeOp(compositeOpName);
}
if(node->inherits("KisPaintLayer")) {
if (node->inherits("KisPaintLayer")) {
KisPaintLayer* layer = qobject_cast<KisPaintLayer*>(node);
QBitArray channelLockFlags = stringToFlags(element.attribute(CHANNEL_LOCK_FLAGS, ""), colorSpace->channelCount());
layer->setChannelLockFlags(channelLockFlags);
}
if (element.attribute(FILE_NAME).isNull())
if (element.attribute(FILE_NAME).isNull()) {
m_d->layerFilenames[node] = name;
else
}
else {
m_d->layerFilenames[node] = element.attribute(FILE_NAME);
}
if (element.hasAttribute("selected") && element.attribute("selected") == "true") {
m_d->selectedNodes.append(node);
......
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