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

QCompleter doesn't emit highlighted() or activated() if the completion model has changed

    XMLWordPrintable

Details

    • ae2c3a96519ede274bd3a67566f007b1cba24ff8

    Description

      With Qt 4.5 the attached code inserted the highighted or activated item into the line edit, and in case of activation, the returnPressed signal was also emitted. After moving to Qt 4.6 this code doesn't work anymore. It's still possible to navigate through the completion list, but neither highlighting nor activating an item doesn't result in the behavior mentioned above. Inserting some debug output into the corresponding slots hints that possibly the highlighted() or activated() signals don't get emitted.

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            0xd34df00d Georg Rudoy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes