Commit d642b94d authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files


use const & for foreach "iterators" when the "iterator" is an object to avoid a call to the copy-constructor

svn path=/trunk/KDE/kdegames/ksudoku/; revision=758074
parent 34e10a62
......@@ -199,7 +199,7 @@ void KSudoku::updateShapesList()
QString variantDataPath;
QString variantIcon;
foreach(QString filepath, filepaths) {
foreach(const QString &filepath, filepaths) {
KConfig variantConfig(filepath, KConfig::SimpleConfig);
KConfigGroup group = ("KSudokuVariant");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment