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

QML: "path" role of RouteModel should be renamed to "route"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 5.0.0
    • None
    • Ubuntu

    Description

      RouteModel has one role named "path" which is intended to store QDeclarativeGeoRoute object.
      So "path" is incorrect name, it should be "route". Route has a path, distance etc.
      For example, to get route's first point in a delegate we need to write "path.path[0]" which looks ridiculous.

      Attachments

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

        Activity

          People

            jgressmann Jean Gressmann
            shubina Natalia Shubina (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes