diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-01-28 15:58:25 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-01-28 15:58:25 (GMT) |
commit | 7d66d263b93164ddc501050d07ddcc198921da8c (patch) | |
tree | 7f62f894cd301b99fc312a195749ba12f87b3401 /tools/shared/fontpanel | |
parent | 2a82051815a3c8bb8fbb2b58dff5653c80d6fa33 (diff) | |
download | Qt-7d66d263b93164ddc501050d07ddcc198921da8c.zip Qt-7d66d263b93164ddc501050d07ddcc198921da8c.tar.gz Qt-7d66d263b93164ddc501050d07ddcc198921da8c.tar.bz2 |
Designer: Fix source code scanning issues.
Fix spelling errors, foreach()/QString usage, explicit constructors.
Reviewed-By: Joerg Bornemann <joerg.bornemann@trolltech.com>
Diffstat (limited to 'tools/shared/fontpanel')
-rw-r--r-- | tools/shared/fontpanel/fontpanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared/fontpanel/fontpanel.cpp b/tools/shared/fontpanel/fontpanel.cpp index 0b6f394..ad297df 100644 --- a/tools/shared/fontpanel/fontpanel.cpp +++ b/tools/shared/fontpanel/fontpanel.cpp @@ -217,7 +217,7 @@ void FontPanel::updateFamily(const QString &family) 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); |