only append subdirs to actual parent list jobs, fixes random crashes
authorMilian Wolff <mail@milianw.de>
Fri, 22 Oct 2010 02:57:15 +0000 (04:57 +0200)
committerMilian Wolff <mail@milianw.de>
Fri, 22 Oct 2010 02:57:15 +0000 (04:57 +0200)
commit7fb40ea15ce361c62f910715b839dc44b08a0405
tree8d7a291c838a1f83b1692c5140086eebfd88b075
parentfef06a6fa7613a5ee5f95e3011f2febe018fc377
only append subdirs to actual parent list jobs, fixes random crashes

before we used sig/slot (for no reason?) and that way each dir was appended to *all* running import jobs
this lead to the jobs filtering and deleting their items and leading to various crashes

BUG: 254261

TODO: backport fix to 4.1
plugins/genericprojectmanager/test/reloadtest.cpp
plugins/genericprojectmanager/test/reloadtest.h
project/abstractfilemanagerplugin.cpp
project/abstractfilemanagerplugin.h
project/filemanagerlistjob.cpp
project/filemanagerlistjob.h