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

QDataWidgetMapper::mappedPropertyName returns empty string

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.10.1
    • None
    • Qt Creator 4.5.1

      Based on Qt 5.10.1 (GCC 7.3.0, 64 bit)

       

      C:\Windows\System32>ver

      Microsoft Windows [Version 10.0.16299.248]

    Description

      When mapping a widget to a model, QDataWidgetMapper::mappedPropertyName returns an empty "" string if the property is not specified during addMapping(). This behavior is incorrect because although you don't specify the property, a default one is selected for you. The documentation also makes no mention that the empty string is returned in this case.

      http://doc.qt.io/archives/qt-4.8/qdatawidgetmapper.html#mappedPropertyName

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            RobertBColton Robert B. Colton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes