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

Wrong suggestions for an obsolete method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.2
    • 6.0, 5.15
    • GUI: Printing
    • None
    • All
    • 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

            vhilshei Volker Hilsheimer
            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