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

Docs: isUserInitiated should be userInitiated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.6.0 RC
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      Qt 5.4.2
      Openbox
    • Commits:
      4caea33d8f5ac4f40cf261856d07d8ad797fc013

      Description

      The documentation at http://doc.qt.io/qt-5/qml-qtwebengine-webenginenewviewrequest.html#isUserInitiated-prop lists the property to see if a new window is initiated by a user as "isUserInitiated", but the QML property is actually just "userInitiated".

      I am not sure if this doc is meant to represent the C++ class, but it is still a bit confusing: I do not see any other doc for the QML properties of "request". At first I thought the property "isUserInitiated" was giving the wrong result until I realized it was just undefined and I needed to use userInitiated instead.

        Attachments

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

          Activity

            People

            Assignee:
            mibrunin Michael Bruning
            Reporter:
            mpnolan Mike Nolan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes