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

QScriptValue: Prevent implicit casting from const char * to bool

    XMLWordPrintable

Details

    • Task
    • Resolution: Out of scope
    • P3: Somewhat important
    • 5.0.0
    • None
    • Qt Script
    • None

    Description

      See http://frinring.wordpress.com/2011/08/09/beware-of-qscriptvalue-and-qt_no_cast_from_ascii-or-structure-descriptions-in-js-broken-in-okteta-0-7-0/

      In Qt 5 the QScriptValue(bool) constructor could be changed to take a QBool to prevent implicit casting.

      Attachments

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

        Activity

          People

            kenthans Kent Hansen (Inactive)
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes