summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-28 15:04:36 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-28 15:04:36 +0200
commit30ba96b580e7d7593ff4cbe70b5dca5c895be873 (patch)
tree111e6a0d6bd5241340defb5123fa4ffa952712eb
parentaea425255aae63c261e9fae6795941b5242f5ac0 (diff)
downloadkube-30ba96b580e7d7593ff4cbe70b5dca5c895be873.tar.gz
kube-30ba96b580e7d7593ff4cbe70b5dca5c895be873.zip
Assemble the address the right way around.
-rw-r--r--framework/src/domain/recepientautocompletionmodel.cpp2
1 files changed, 1 insertions, 1 deletions
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
111 if (name.isEmpty()) { 111 if (name.isEmpty()) {
112 return QString(address); 112 return QString(address);
113 } 113 }
114 return QString("%1 <%2>").arg(QString(address), QString(name)); 114 return QString("%1 <%2>").arg(QString(name), QString(address));
115 }(); 115 }();
116 auto matches = mSourceModel->findItems(formattedName); 116 auto matches = mSourceModel->findItems(formattedName);
117 if (matches.isEmpty()) { 117 if (matches.isEmpty()) {