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

Wrong suggestions for an obsolete method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15, 6.0
    • Fix Version/s: 5.15.2
    • Component/s: GUI: Printing
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      8d8b271fe9cd838f2975392ca9856ac19803f0b6 (qt/qtbase/dev) df8f1b86f8621ddbf21090b72c09c38ecb48709a (qt/qtbase/5.15)

      Description

      In Qt's 5.15 branch QPrinter suggests usage of 

      pageLayout().pageMargins()

      on the other hand, PageLayout doesn't have any method named pageMargins() but have named margins()

      You can easily see a couple ( TWO -  2 )  of suggestions for a not existing method in :

      https://code.qt.io/cgit/qt/qtbase.git/tree/src/printsupport/kernel/qprinter.cpp?h=5.15

      also in here:

      https://code.qt.io/cgit/qt/qtbase.git/tree/src/printsupport/kernel/qprinter.h?h=5.15

      also in here :

      https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/painting/qpagedpaintdevice.cpp?h=5.15

      also in here:

      https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/painting/qpdfwriter.cpp?h=5.15

       

       

        Attachments

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

          Activity

            People

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            usta Ömer Fadıl USTA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes