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

Qt 5 to-do in qtextformat.cpp

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.0.0 Beta 1
    • None
    • GUI: Text handling
    • None

    Description

      qtbase/src/gui/text/qtextformat.cpp contains the following Qt 5 to-do comment:

      qtextformat.cpp
      // ### Qt5 qreal replace with a QTextLength
      /*!
          \fn qreal QTextImageFormat::width() const
      
          Returns the width of the rectangle occupied by the image.
      
          \sa height() setWidth()
      */
      

      If this can be done without impacting source-compatibility, it should be done for Qt 5.0.0. If not, the comment should be either removed or changed to a Qt 6 to-do.

      Attachments

        Issue Links

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

          Activity

            People

              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes