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

Discrepancy in texts in "dynamic text" example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.6.0 Beta
    • 5.5.1
    • Documentation, Quick: Other
    • None
    • GNU/Linux, Debian/testing, x86_64

    Description

      In the documentation of Qt.binding(), there's a sentence containing three code snippets: "For example, assuming the existence of a DynamicText component: [snippet: DynamicText.qml] the output from [an Item with no Loader children] and from: [an Item with two Loader children] should both be: [four lines of text]".
      The claimed four lines of text output are consistent with the "two Loader" item's version of the code; but the "no Loader" variant uses "Modified text element text" where the "two Loader" version used "Modified dynamic text", so I am compelled to suppose the "no Loader" version's fourth line of output would be "Modified text element text extra text" instead of s/text element/dynamic/.
      (I suspect someone revised one version of the code, and the output, without revising the other, at some point.)

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            Eddy Edward Welbourne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes