Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-2084

QDeclarativeHapticsEffect setIntensity() is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 1.3.0
    • 1.1.2
    • Tactile Feedback
    • None
    • 374fd40b9c8260185faf051676088deeee9ae8b2

      The setIntensity() function of QDeclarativeHapticsEffect currently has no effect. The new value is written only if it is equal to the old value, which is clearly wrong.

      Also, as it uses qFuzzyCompare, merely inverting the result of the comparison would still result in an error, as the comparison would fail if either the new or old value was zero.

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

            w00t Robin Burchell
            chrisadams Christopher Adams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes