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

Typing error in QRasterPlatformPixmap::metric

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9
    • 5.8.0
    • GUI: Painting
    • None
    • Windows 7

    Description

      The function QRasterPlatformPixmap::metric(QPaintDevice::PaintDeviceMetric metric) in qpixmap_raster.cpp contains the following error on line 288 (Qt 5.8.0):

      return qt_defaultDpiX();

      Since this is returned when metric == QPaintDevice::PdmDpiY, the correct line is:

      return qt_defaultDpiY();

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            stian Stian Andre Olsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes