Commit 43407ddd authored by Claudio Valerio's avatar Claudio Valerio

fixed url for label

parent 990e2f29
...@@ -45,7 +45,7 @@ body { ...@@ -45,7 +45,7 @@ body {
<div class="g200"> <div class="g200">
<a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/User+manual+EN+2.00" target="_blank"><img src="images/manuel.png" style="width: 188px; border: 1px solid #999"/></a> <a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/User+manual+EN+2.00" target="_blank"><img src="images/manuel.png" style="width: 188px; border: 1px solid #999"/></a>
<br/><br/><a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/Le+manuel+qui+manquait" target="_blank"> <br/><br/><a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/User+manual+EN+2.00" target="_blank">
<h5 style="text-align: center;">The user manual</h5></a> <h5 style="text-align: center;">The user manual</h5></a>
</div> </div>
......
...@@ -45,7 +45,7 @@ body { ...@@ -45,7 +45,7 @@ body {
<div class="g200"> <div class="g200">
<a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/Le+manuel+du+logiciel+FR+2.00" target="_blank"><img src="images/manuel.png" style="width: 188px; border: 1px solid #999"/></a> <a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/Le+manuel+du+logiciel+FR+2.00" target="_blank"><img src="images/manuel.png" style="width: 188px; border: 1px solid #999"/></a>
<br/><br/><a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/Le+manuel+qui+manquait" target="_blank"> <br/><br/><a href="http://planete.sankore.org/xwiki/bin/view/Pedagogique/Le+manuel+du+logiciel+FR+2.00" target="_blank">
<h5 style="text-align: center;">Le manuel d'utilisation</h5></a> <h5 style="text-align: center;">Le manuel d'utilisation</h5></a>
</div> </div>
......
...@@ -1025,6 +1025,8 @@ UBGraphicsGroupContainerItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::readGroup() ...@@ -1025,6 +1025,8 @@ UBGraphicsGroupContainerItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::readGroup()
UBGraphicsGroupContainerItem *curGroup = readGroup(); UBGraphicsGroupContainerItem *curGroup = readGroup();
if (curGroup) if (curGroup)
groupContainer.append(curGroup); groupContainer.append(curGroup);
else
qDebug() << "this is an error";
} }
else if (mXmlReader.name() == tElement) else if (mXmlReader.name() == tElement)
{ {
...@@ -1042,7 +1044,10 @@ UBGraphicsGroupContainerItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::readGroup() ...@@ -1042,7 +1044,10 @@ UBGraphicsGroupContainerItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::readGroup()
} }
else // item else // item
{ {
if(curItem)
groupContainer.append(curItem); groupContainer.append(curItem);
else
qDebug() << "this is an error";
} }
}else { }else {
mXmlReader.skipCurrentElement(); mXmlReader.skipCurrentElement();
...@@ -1078,7 +1083,10 @@ UBGraphicsGroupContainerItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::readGroup() ...@@ -1078,7 +1083,10 @@ UBGraphicsGroupContainerItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::readGroup()
if (pStrokesGroup) if (pStrokesGroup)
{ {
QGraphicsItem *strokeGroup = qgraphicsitem_cast<QGraphicsItem *>(pStrokesGroup); QGraphicsItem *strokeGroup = qgraphicsitem_cast<QGraphicsItem *>(pStrokesGroup);
if(strokeGroup)
groupContainer.append(strokeGroup); groupContainer.append(strokeGroup);
else
qDebug() << "this is an error";
} }
} }
...@@ -1126,6 +1134,9 @@ QGraphicsItem *UBSvgSubsetAdaptor::UBSvgSubsetReader::readElementFromGroup() ...@@ -1126,6 +1134,9 @@ QGraphicsItem *UBSvgSubsetAdaptor::UBSvgSubsetReader::readElementFromGroup()
QString uuid = id.right(QUuid().toString().size()); QString uuid = id.right(QUuid().toString().size());
result = mScene->itemForUuid(QUuid(uuid)); result = mScene->itemForUuid(QUuid(uuid));
if(!result)
qDebug() << "uuid " << uuid;
mXmlReader.skipCurrentElement(); mXmlReader.skipCurrentElement();
mXmlReader.readNext(); mXmlReader.readNext();
......
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