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

List:       kde-commits
Subject:    branches/stable/extragear/multimedia/amarok/src
From:       Dirk Mueller <mueller () kde ! org>
Date:       2006-01-09 11:11:46
Message-ID: 1136805106.750116.19200.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 495902 by mueller:

detach because its going to be used in a thread


 M  +3 -1      collectionreader.cpp  


--- branches/stable/extragear/multimedia/amarok/src/collectionreader.cpp #495901:495902
@@ -15,6 +15,8 @@
 #include <kapplication.h>
 #include <kglobal.h>
 #include <klocale.h>
+#include <qdeepcopy.h>
+
 #include <iostream>
 #include "metabundle.h"
 #include "playlistbrowser.h"
@@ -27,7 +29,7 @@
         : DependentJob( parent, "CollectionReader" )
         , m_importPlaylists( AmarokConfig::importPlaylists() )
         , m_incremental( false )
-        , m_folders( folders )
+        , m_folders( QDeepCopy<QStringList>(folders) )
         , m_db( CollectionDB::instance()->getStaticDbConnection() )
         , m_recursively( AmarokConfig::scanRecursively() )
         , log( QFile::encodeName( amaroK::saveLocation( QString::null ) + "collection_scan.log" ) )
[prev in list] [next in list] [prev in thread] [next in thread] 

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