[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/plasma
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-05-13 0:51:22
Message-ID: 20100513005122.47954AC8B4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1126032 by aseigo:

make it const


 M  +1 -2      theme.cpp  


--- trunk/KDE/kdelibs/plasma/theme.cpp #1126031:1126032
@@ -446,8 +446,7 @@
     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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic