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

QModbusDataUnit doesn't resize vector after construction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Won't Do
    • Affects Version/s: 5.9.2
    • Fix Version/s: None
    • Component/s: SerialBus: MOD Bus
    • Labels:
      None

      Description

      setValueCount(...) does not resize m_values so that subsequent calls to setValue fails silently

      This becomes apparent when using the QModbusDataUnit(RegisterType type) constructor as it then becomes impossible to set values to nondefault values.

        Attachments

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

          Activity

            People

            Assignee:
            ablasche Alex Blasche
            Reporter:
            morten Morten Jorgensen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes