Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2872

QMimeData constructor should error when passed unexpected arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.7.2
    • PySide
    • None
    • Windows

    Description

      I think the following should raise an error, since the QMimeData constructor does not take any parameters:

      from PySide6.QtCore import QMimeData
      
      QMimeData(1, 2, 3, "fo", None)
      

      https://doc.qt.io/qt-6/qmimedata.html#QMimeData

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            bers bers bers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes