Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25588

Invalid syntax in example code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.0.0
    • Some future release
    • Documentation
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            tomasstraupis Tomas Straupis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes