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

QComboBox findText fails at 1e item

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.6.1
    • None
    • Windows

    Description

      findText method of QComboBox fails on 1e item. Looks like it skips the first in the search.

      so:

      QComboBox* typeComboBox = new QComboBox();
      typeComboBox->addItem("first");
      typeComboBox->addItem("second");

      qDebug() << typeComboBox->findText("first"); // return false
      qDebug() << typeComboBox->findText("second"); // return true

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jeanc Jean Custers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes