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

QCanbusDevice::Filter lacks the support of the == operator

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.14.0 Alpha
    • 5.11, 5.12, 5.13
    • SerialBus: CAN Bus
    • None
    • All
    • eca5edf45a8043b87852698a00dd05acf897ba2c (qt/qtserialbus/dev)

    Description

      When I use the method `QVariant QCanBusDevice::configurationParameter(int key)` to get a `QList<QCanBusDevice::Filter>` via `QCanBusDevice::RawFilterKey`, I noticed, that I cannot compare the QVariant returned with a different `QVariant::fromValue(QList<QCanBusDevice::Filter>)`. This is due to the fact that the `QCanBusDevice::Filter` does not implement the == operator for comparison.

       Could that get added?

      Attachments

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

        Activity

          People

            aha_1980 André Hartmann
            darkmattercoder Jochen Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes