summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/shared_settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/src/lib/shared/shared_settings.cpp')
-rw-r--r--tools/designer/src/lib/shared/shared_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/shared_settings.cpp b/tools/designer/src/lib/shared/shared_settings.cpp
index d6fd4bc..281b5c6 100644
--- a/tools/designer/src/lib/shared/shared_settings.cpp
+++ b/tools/designer/src/lib/shared/shared_settings.cpp
@@ -161,7 +161,7 @@ QStringList QDesignerSharedSettings::additionalFormTemplatePaths() const
{
// get template paths excluding internal ones
QStringList rc = formTemplatePaths();
- foreach (QString internalTemplatePath, defaultFormTemplatePaths()) {
+ foreach (const QString &internalTemplatePath, defaultFormTemplatePaths()) {
const int index = rc.indexOf(internalTemplatePath);
if (index != -1)
rc.removeAt(index);