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/designer/src/lib/shared/actionrepository.cpp | |
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/designer/src/lib/shared/actionrepository.cpp')
-rw-r--r-- | tools/designer/src/lib/shared/actionrepository.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/actionrepository.cpp b/tools/designer/src/lib/shared/actionrepository.cpp index 64cf9c4..e3ff2c1 100644 --- a/tools/designer/src/lib/shared/actionrepository.cpp +++ b/tools/designer/src/lib/shared/actionrepository.cpp @@ -244,7 +244,7 @@ QMimeData *ActionModel::mimeData(const QModelIndexList &indexes ) const ActionRepositoryMimeData::ActionList actionList; QSet<QAction*> actions; - foreach (const QModelIndex &index, indexes) + foreach (const QModelIndex &index, indexes) if (QStandardItem *item = itemFromIndex(index)) if (QAction *action = actionOfItem(item)) actions.insert(action); |