mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
Prevent endless-loops
svn path=/trunk/playground/graphics/okular/; revision=586047
This commit is contained in:
parent
21b3dc4263
commit
265c541925
1 changed files with 3 additions and 1 deletions
|
@ -300,8 +300,10 @@ bool Converter::convertList( const QDomElement &element )
|
|||
loop++;
|
||||
|
||||
const QDomElement paragraphElement = child.firstChildElement();
|
||||
if ( paragraphElement.tagName() != QLatin1String( "p" ) )
|
||||
if ( paragraphElement.tagName() != QLatin1String( "p" ) ) {
|
||||
child = child.nextSiblingElement();
|
||||
continue;
|
||||
}
|
||||
|
||||
// FIXME: as soon as Qt is fixed
|
||||
// if ( loop > 1 )
|
||||
|
|
Loading…
Reference in a new issue