make it const

svn path=/trunk/KDE/kdelibs/; revision=1126032
This commit is contained in:
Aaron J. Seigo 2010-05-13 00:51:22 +00:00
parent 57b809f29e
commit e5ffc3ce8a

View File

@ -446,8 +446,7 @@ void ThemePrivate::processAnimationSettings(const QString &theme, KConfigBase *m
KConfigGroup cg(metadata, "Animations");
const QString animDir = "desktoptheme/" + theme + "/animations/";
foreach (const QString &path, cg.keyList()) {
QStringList anims = cg.readEntry(path, QStringList());
const QStringList anims = cg.readEntry(path, QStringList());
foreach (const QString &anim, anims) {
if (!animationMapping.contains(anim)) {
kDebug() << "Registering animation. animDir: " << animDir