[clazy] [Bug 462394] New: QGraphicsView::mapToScene() raises a clazy-qt6-deprecated-api-fixes

Pamputt bugzilla_noreply at kde.org
Tue Nov 29 14:15:42 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=462394

            Bug ID: 462394
           Summary: QGraphicsView::mapToScene() raises a
                    clazy-qt6-deprecated-api-fixes
    Classification: Developer tools
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: pamputt0 at gmail.com
                CC: smartins at kde.org
  Target Milestone: ---

In QtCreator, clazy 1.11 warns me with this line

QPointF point1 = view->mapToScene(QPoint());

where view is a QGraphicsView

It is not absolutely not clear to me what has changed between Qt5 and Qt6 that
could explain why this warning is triggered

The clazy-qt6-deprecated-api-fixes warning appears to be triggered by
mapToScene().

So, it seems to be a false positive. Sorry if it is not.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list