Commit ada7440b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QLatin1Char

parent 48a80ca6
......@@ -201,12 +201,12 @@ void LineEdit::dropEvent(QDropEvent* e)
if (newEmails.count())
{
newText = newEmails.join(QStringLiteral(","));
newText = newEmails.join(QLatin1Char(','));
int c = cursorPosition();
if (c > 0)
newText.prepend(QStringLiteral(","));
newText.prepend(QLatin1Char(','));
if (c < static_cast<int>(text().length()))
newText.append(QStringLiteral(","));
newText.append(QLatin1Char(','));
}
if (!newText.isEmpty())
insert(newText);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment