Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Some future release
-
None
Description
http://doc.qt.nokia.com/4.6/richtext-structure.html
Part about "text blocks" has an example code:
QTextBlock::iterator it; for (it = currentBlock.begin(); !(it.atEnd()); ++it) { QTextFragment currentFragment = it.fragment(); if (currentFragment.isValid()) processFragment(currentFragment); } }
I think it is missing "{" after "if" part.