Commit ec3d888e authored by Allen Winter's avatar Allen Winter
Browse files

standardcontactformatter.cpp - fix crash on iterating

was iterting over the wrong container
parent 0c535de5
......@@ -216,7 +216,7 @@ QString StandardContactFormatter::toHtml(HtmlForm form) const
const QMap<QString, QString> tmpTitleMap = titleMap;
QMap<QString, QString>::const_iterator iterator = tmpTitleMap.constBegin();
while (iterator != titleMap.constEnd()) {
while (iterator != tmpTitleMap.constEnd()) {
titleMap.insert(iterator.key().toUpper(), iterator.value());
++iterator;
}
......
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