Skip to content

Fixes issues when test playback fails to find an object.

Fixes multiple issues when test playback failed to find an object.

  1. The failure message was printed out twice. Fixed that. Only 1 call to qCritical() is sufficient.
  2. qCritical() << QString() causes the '\n's to be escaped. Avoid that by converting QString to char*.
  3. Don't report crazy long list of possible matches or available widgets. That's very useless and makes terminal (or output log) unreadable. Limit it to 20 matches (configurable by environment variable PQOBJECTNAMING_MATCH_LIMIT).
Edited by Utkarsh Ayachit

Merge request reports

Loading