Use QString::trimmed() in LineEditor::onSend()