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

Ranged properties in Multimedia QML elements should print qWarning if developer assigns value out of bounds

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 1.1.0
    • 1.1.x
    • Multimedia
    • None

      Writing code below should result in three warnings and the values not being passed to multimedia backends.

      import Qt 4.7
      import Qt.multimedia 1.1
      
      Item {
          SoundEffect {
              volume: 10 // should be between 0.0 and 1.0 
              loops: -3 // should be -1 (infinite), 0 or positive integer
          }
      
          Audio {
              volume: 10 // should be between 0.0 and 1.0 
          }
      }
      

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

            ling.hu@nokia.com Ling Hu (closed Nokia identity) (Inactive)
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes