diff -r 3b1da2848fc7 -r d3bac044e0f0 tools/shared/fontpanel/fontpanel.cpp --- a/tools/shared/fontpanel/fontpanel.cpp Fri Feb 19 23:40:16 2010 +0200 +++ b/tools/shared/fontpanel/fontpanel.cpp Fri Mar 12 15:46:37 2010 +0200 @@ -217,7 +217,7 @@ const QString normalStyle = QLatin1String("Normal"); if (hasStyles) { - foreach (QString style, styles) { + foreach (const QString &style, styles) { // try to maintain selection or select 'normal' preferably const int newIndex = m_styleComboBox->count(); m_styleComboBox->addItem(style);