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

Docs: Faulty sample code in the documentation of SwipeDelegate QML Type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2.8, 6.5.0, 6.6.0
    • 6.4.2
    • Documentation
    • None
    • All
    • 925c6b06b (dev), 570012dfe (6.5), e5a0152d6 (tqtc/lts-6.2), 3b1a5cdb3 (6.4)

    Description

      Please take a look at the example code visible here https://doc.qt.io/qt-6/qml-qtquick-controls2-swipedelegate.html

       

      1. Try to build the app with an example above
      2. Try to remove items using swipe

      Actual: only item with index 0 is removed

      Expected: all items can be removed. Line 
      required property int index'
      should be moved to the SwipeDelegate scope. 

       

      Attachments

        Issue Links

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

          Activity

            People

              daniel.smith Daniel Smith
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes