Commit a7345111 authored by Stefan Brüns's avatar Stefan Brüns
Browse files

[EBook Thumb] Stop OPF path search when it has been found

There is no need to scan the XML file remainder.
parent aad7fa84
......@@ -114,6 +114,7 @@ bool EbookCreator::createEpub(const QString &path, QImage &image)
if (xml.isStartElement() && xml.name() == QLatin1String("rootfile")) {
opfPath = xml.attributes().value(QStringLiteral("full-path")).toString();
break;
}
}
......
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