From 30ba96b580e7d7593ff4cbe70b5dca5c895be873 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 28 Jun 2017 15:04:36 +0200 Subject: Assemble the address the right way around. --- framework/src/domain/recepientautocompletionmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/src/domain/recepientautocompletionmodel.cpp b/framework/src/domain/recepientautocompletionmodel.cpp index 2f52db07..c1bcb292 100644 --- a/framework/src/domain/recepientautocompletionmodel.cpp +++ b/framework/src/domain/recepientautocompletionmodel.cpp @@ -111,7 +111,7 @@ bool RecipientAutocompletionModel::addToModel(const QString &address, const QStr if (name.isEmpty()) { return QString(address); } - return QString("%1 <%2>").arg(QString(address), QString(name)); + return QString("%1 <%2>").arg(QString(name), QString(address)); }(); auto matches = mSourceModel->findItems(formattedName); if (matches.isEmpty()) { -- cgit v1.2.3