summaryrefslogtreecommitdiffstats
path: root/sigscript/Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/Config.cpp')
-rw-r--r--sigscript/Config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sigscript/Config.cpp b/sigscript/Config.cpp
index 9113badf..f498a9b0 100644
--- a/sigscript/Config.cpp
+++ b/sigscript/Config.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -108,7 +108,7 @@ QStringList Sigscript::Config::values(const bool recursive) const
QStringList values = m_values.keys();
if (recursive && m_parent)
values += m_parent->values(true);
- foreach (QString value, values)
+ foreach (const QString& value, values)
{
if (m_values.contains(value) && (m_values[value].second & (Deleted | Hidden)))
values.removeAll(value);