diff --git a/src/dict/slob.cc b/src/dict/slob.cc
index 5f19b564..3ccdc3ce 100644
--- a/src/dict/slob.cc
+++ b/src/dict/slob.cc
@@ -726,14 +726,8 @@ QString const & SlobDictionary::getDescription()
if ( !dictionaryDescription.isEmpty() )
return dictionaryDescription;
- QMap< QString, QString > const & tags = sf.getTags();
-
- QMap< QString, QString >::const_iterator it;
- for ( it = tags.begin(); it != tags.end(); ++it ) {
- if ( it != tags.begin() )
- dictionaryDescription += "\n\n";
-
- dictionaryDescription += it.key() + ": " + it.value();
+ for ( auto [ key, value ] : sf.getTags().asKeyValueRange() ) {
+ dictionaryDescription += "" % key % "" % ": " % value % "
";
}
return dictionaryDescription;