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

Replace "QPen pen();" with "QPen pen;"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.4
    • 4.7.1
    • Documentation
    • None
    • 8845da82b109b8dd93d7461d01e7ce84a8f49a04

    Description

      In: http://doc.qt.nokia.com/latest/qpen.html#details

      Replace: QPen pen(); // creates a default pen
      with: QPen pen; // creates a default pen

      otherwise, it create a function instead of a pen

      Attachments

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

        Activity

          People

            dm Geir Vattekar
            iamsergio Sergio Martins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes