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

Optimize QLineEdit by caching return values of minLeftBearing() and minRightBearing()

    XMLWordPrintable

Details

    Description

      QLineEdit reevaluates minLeftBearing() and minRightBearing() too often (such as in the paint event). These functions are expensive, so their values should be cached and only updated when the font changes.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            bdo Jo Asplin (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