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

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

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.11, 5.12, 5.13
    • Fix Version/s: 5.14.0 Alpha
    • Component/s: SerialBus: CAN Bus
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-72979
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            aha_1980 André Hartmann
            Reporter:
            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