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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Maximilian Kossick <maximilian.kossick () googlemail ! com>
Date:       2007-08-31 19:49:48
Message-ID: 1188589788.163461.20291.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 707021 by mkossick:

replaced olf foreach with the new Qt one


 M  +3 -3      mountpointmanager.cpp  


--- trunk/extragear/multimedia/amarok/src/mountpointmanager.cpp #707020:707021
@@ -430,11 +430,11 @@
     }
     //make sure that collection folders on devices which are not in foldermap are deleted
     IdList ids = getMountedDeviceIds();
-    oldForeachType( IdList, ids )
+    foreach( int deviceId, ids )
     {
-        if( !folderMap.contains( *it ) )
+        if( !folderMap.contains( deviceId ) )
         {
-            folderConf.deleteEntry( QString::number( *it ) );
+            folderConf.deleteEntry( QString::number( deviceId ) );
         }
     }
     QMapIterator<int, QStringList> i( folderMap );
[prev in list] [next in list] [prev in thread] [next in thread] 

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