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

Improve QImage::setPixelColor warning message for invalid colours

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.7.0 RC
    • Component/s: GUI: Painting
    • Labels:
      None

      Description

      It shouldn't print a warning about coordinates when the colour is invalid:

      qWarning("QImage::setPixelColor: coordinate (%d,%d) out of range", x, y);

      http://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/image/qimage.cpp#n2441

        Attachments

        For Gerrit Dashboard: QTBUG-52142
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            mitch_curtis Mitch Curtis
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes