Fix QT WARNING  QTextCursor::setPosition
Fix application call
Remove old code
Update codeintel