refs #146 , using ", " in convertToQString -> better readability and word wrap

This commit is contained in:
Klaus Basan
2014-02-25 00:44:20 +01:00
parent 92c0a23749
commit 8208e5858a

View File

@@ -163,7 +163,7 @@ namespace BlackMisc
{
QString str;
// qualifying stringify with this-> to workaround bug in GCC 4.7.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56402
std::for_each(derived().cbegin(), derived().cend(), [ & ](const T & value) { str += (str.isEmpty() ? "{" : ",") + this->stringify(value, i18n); });
std::for_each(derived().cbegin(), derived().cend(), [ & ](const T & value) { str += (str.isEmpty() ? "{" : ", ") + this->stringify(value, i18n); });
if (str.isEmpty()) { str = "{"; }
return str += "}";
}