Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KIO Extras
Commits
a7345111
Commit
a7345111
authored
Nov 23, 2020
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
thumbnail/ebookcreator.cpp
View file @
a7345111
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment