Qt UI: possible fix for search nick in chat