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

QVariant::toInt's documentation is not in line with its implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.5
    • Core: Object Model
    • None

      The documentation states that the conversion is only possible for a fixed set of stored types; however, the implementation calls QMetaType::convert (if necessary), so it works in theory with any type, as long as there is a registered converter for it.

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

            fabiankosmale Fabian Kosmale
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes